Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09971, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004639/0.1044, allocations: 3.085 MB / 420.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1057, allocations: 0.7715 MB / 421.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1059, allocations: 11.94 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.106, allocations: 51.5 kB / 421.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1063, allocations: 123 kB / 421.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1066, allocations: 131.8 kB / 422 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.1072, allocations: 454.3 kB / 422.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1074, allocations: 98.94 kB / 422.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1077, allocations: 179.3 kB / 422.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1079, allocations: 191.2 kB / 422.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.108, allocations: 44 kB / 422.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.108, allocations: 44 kB / 423 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.1081, allocations: 87.69 kB / 423.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.1083, allocations: 199.1 kB / 423.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1089, allocations: 0.4942 MB / 423.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1089, allocations: 0 / 423.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1089, allocations: 0 / 423.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1089, allocations: 4 kB / 423.7 MB, free: 6.621 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001412/0.1103, allocations: 0.7185 MB / 424.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1103, allocations: 8.031 kB / 424.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.1104, allocations: 62.72 kB / 424.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1105, allocations: 40.7 kB / 424.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.111, allocations: 318.8 kB / 424.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.111, allocations: 20.94 kB / 424.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.1111, allocations: 36.12 kB / 424.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/0.1118, allocations: 351.5 kB / 425.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1118, allocations: 4 kB / 425.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1119, allocations: 12 kB / 425.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1119, allocations: 8 kB / 425.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.1128, allocations: 298 kB / 425.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.115, allocations: 1.264 MB / 426.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.1159, allocations: 326.4 kB / 427.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.1163, allocations: 140.7 kB / 427.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1163, allocations: 3.984 kB / 427.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.1169, allocations: 189.8 kB / 427.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.1169, allocations: 4 kB / 427.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002282/0.1191, allocations: 0.6419 MB / 428.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.1192, allocations: 102.8 kB / 428.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1197, allocations: 299.2 kB / 428.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.1197, allocations: 33.7 kB / 428.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1199, allocations: 216.3 kB / 428.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.1199, allocations: 55.55 kB / 428.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.12, allocations: 57.69 kB / 428.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1202, allocations: 338.8 kB / 429.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.1206, allocations: 116.2 kB / 429.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.1211, allocations: 212.4 kB / 429.6 MB, free: 452 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.1219, allocations: 339.6 kB / 429.9 MB, free: 68 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1219, allocations: 0 / 429.9 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001437/0.1233, allocations: 493.6 kB / 430.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.1234, allocations: 33.7 kB / 430.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1234, allocations: 4 kB / 430.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.1237, allocations: 68.86 kB / 430.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.124, allocations: 71.89 kB / 430.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.1264, allocations: 1.636 MB / 432.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.1268, allocations: 51.75 kB / 432.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.1268, allocations: 16 kB / 432.2 MB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.127, allocations: 150.9 kB / 432.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.1271, allocations: 31.86 kB / 432.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.1271, allocations: 34.2 kB / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1271, allocations: 0 / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1271, allocations: 8 kB / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1271, allocations: 3.984 kB / 432.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.1289, allocations: 0.7925 MB / 433.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1289, allocations: 4 kB / 433.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.1291, allocations: 43.89 kB / 433.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.1293, allocations: 64.84 kB / 433.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.1294, allocations: 15.92 kB / 433.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.1315, allocations: 1.621 MB / 435 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1315, allocations: 3.938 kB / 435 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.1331, allocations: 0.5729 MB / 435.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1332, allocations: 112.9 kB / 435.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.1332, allocations: 8 kB / 435.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1335, allocations: 36.02 kB / 435.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.1336, allocations: 15.98 kB / 435.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1336, allocations: 11.98 kB / 435.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.1339, allocations: 206 kB / 436 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1339, allocations: 0 / 436 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.1344, allocations: 83.89 kB / 436 MB, free: 9.484 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/0.1364, allocations: 1.112 MB / 437.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1375, allocations: 441.8 kB / 437.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1375, allocations: 0 / 437.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.138, allocations: 237.2 kB / 437.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.1384, allocations: 64.72 kB / 437.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.1462, allocations: 3.661 MB / 441.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1467, allocations: 0.7639 MB / 442.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1468, allocations: 30.95 kB / 442.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.147, allocations: 91.41 kB / 442.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.147, allocations: 0 / 442.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/0.3684, allocations: 7.274 MB / 449.7 MB, free: 30.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.2, allocations: 13.31 kB / 449.7 MB, free: 30.16 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.757376979105175]