Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9255/0.9255, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.759e-05, allocations: 2.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003411/0.003428, allocations: 2.618 MB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.004718, allocations: 0.6893 MB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.004868, allocations: 4 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.005027, allocations: 39.58 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.00525, allocations: 107.1 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.005565, allocations: 91.81 kB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.005999, allocations: 370.4 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.006197, allocations: 52.77 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.006475, allocations: 195.5 kB / 328.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.006598, allocations: 111.7 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.006639, allocations: 32 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.006669, allocations: 28 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.006715, allocations: 71.69 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.006799, allocations: 103.7 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.007081, allocations: 334.9 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.007084, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007085, allocations: 3.938 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.007091, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001037/0.008128, allocations: 0.5731 MB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.008189, allocations: 12.02 kB / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.008248, allocations: 54.73 kB / 330.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.008312, allocations: 36.69 kB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.008639, allocations: 217.2 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.008653, allocations: 20.88 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.008677, allocations: 24.36 kB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.009092, allocations: 326.7 kB / 330.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.009101, allocations: 4.125 kB / 330.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.009121, allocations: 12.12 kB / 330.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.009128, allocations: 4 kB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.009531, allocations: 241.8 kB / 330.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.01051, allocations: 0.8482 MB / 331.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.01096, allocations: 230.5 kB / 332 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.01113, allocations: 104.7 kB / 332.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.01115, allocations: 0 / 332.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.01145, allocations: 225.3 kB / 332.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.01145, allocations: 0 / 332.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00121/0.01266, allocations: 0.5869 MB / 332.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.01271, allocations: 106.8 kB / 333 MB, free: 7.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01291, allocations: 265.9 kB / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01293, allocations: 37.7 kB / 333.3 MB, free: 6.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.01301, allocations: 180.1 kB / 333.5 MB, free: 6.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.01303, allocations: 39.64 kB / 333.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.01309, allocations: 45.7 kB / 333.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.01318, allocations: 331 kB / 333.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.01337, allocations: 129.6 kB / 334 MB, free: 6.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.01358, allocations: 252 kB / 334.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.01392, allocations: 275.1 kB / 334.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01393, allocations: 0 / 334.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006404/0.01457, allocations: 456 kB / 335 MB, free: 5.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.0146, allocations: 45.62 kB / 335 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01461, allocations: 4 kB / 335 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.01486, allocations: 76.86 kB / 335.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01496, allocations: 43.91 kB / 335.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.01647, allocations: 1.832 MB / 337 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.01662, allocations: 51.78 kB / 337 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01664, allocations: 12 kB / 337.1 MB, free: 2.934 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.01673, allocations: 133.8 kB / 337.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01675, allocations: 23.92 kB / 337.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.01678, allocations: 29.77 kB / 337.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01678, allocations: 4 kB / 337.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01678, allocations: 3.938 kB / 337.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01679, allocations: 0 / 337.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.01694, allocations: 232.6 kB / 337.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01695, allocations: 4 kB / 337.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.01701, allocations: 19.97 kB / 337.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.01717, allocations: 80.8 kB / 337.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01718, allocations: 0 / 337.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.01835, allocations: 1.651 MB / 339.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01835, allocations: 0 / 339.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.01888, allocations: 357.6 kB / 339.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.01891, allocations: 23.84 kB / 339.6 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01892, allocations: 8 kB / 339.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01904, allocations: 35.91 kB / 339.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.0191, allocations: 31.81 kB / 339.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01911, allocations: 4 kB / 339.7 MB, free: 120 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.01924, allocations: 189.2 kB / 339.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01924, allocations: 4 kB / 339.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01947, allocations: 71.84 kB / 339.9 MB, free: 15.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007276/0.02019, allocations: 0.8902 MB / 340.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.02077, allocations: 435.5 kB / 341.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02077, allocations: 0 / 341.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.02101, allocations: 222 kB / 341.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.02122, allocations: 48.97 kB / 341.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.0243, allocations: 3.052 MB / 344.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.02438, allocations: 138.2 kB / 344.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.151e-05/0.02445, allocations: 22.3 kB / 344.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.02455, allocations: 76.47 kB / 344.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02455, allocations: 0 / 344.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.04759, allocations: 7.193 MB / 352 MB, free: 3.727 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/7.954, allocations: 0 / 352 MB, free: 3.727 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.754507920704782]