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.0007996/0.0007996, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007669/0.0007669, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9138/0.9138, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 2.324e-06/2.324e-06, allocations: 0 / 318.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.703e-05, allocations: 2.281 kB / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003095/0.003122, allocations: 2.847 MB / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004194, allocations: 0.7519 MB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.004329, allocations: 4 kB / 322.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.00447, allocations: 47.5 kB / 322.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.004631, allocations: 127 kB / 322.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.004894, allocations: 131.7 kB / 322.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.005528, allocations: 473.9 kB / 322.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.005725, allocations: 95.48 kB / 322.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.005984, allocations: 263.4 kB / 323.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.006132, allocations: 139.6 kB / 323.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.006178, allocations: 47.94 kB / 323.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.00622, allocations: 44 kB / 323.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.006277, allocations: 91.67 kB / 323.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.006383, allocations: 139.7 kB / 323.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.006767, allocations: 0.5024 MB / 324.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.006772, allocations: 0 / 324.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006773, allocations: 0 / 324.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.00678, allocations: 0 / 324.1 MB, free: 0.6211 MB / 282.7 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.0009467/0.007727, allocations: 0.6503 MB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.007766, allocations: 8.922 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.00782, allocations: 62.73 kB / 324.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.007883, allocations: 44.69 kB / 324.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.008226, allocations: 252.7 kB / 325.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.008245, allocations: 21.03 kB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.008287, allocations: 28.38 kB / 325.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.008797, allocations: 408.9 kB / 325.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.008808, allocations: 3.938 kB / 325.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.008832, allocations: 11.98 kB / 325.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.008839, allocations: 8 kB / 325.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.009325, allocations: 302.4 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01077, allocations: 1.133 MB / 327.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.01124, allocations: 242.4 kB / 327.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.01149, allocations: 140 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.01151, allocations: 4 kB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.01184, allocations: 245.5 kB / 327.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/0.01184, allocations: 3.938 kB / 327.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.01303, allocations: 0.5707 MB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.0131, allocations: 106.8 kB / 328.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.01337, allocations: 304.1 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01339, allocations: 25.7 kB / 328.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01351, allocations: 216.3 kB / 328.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.01355, allocations: 59.52 kB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.01362, allocations: 57.66 kB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01372, allocations: 334.8 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.01395, allocations: 153.8 kB / 329.5 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.0145, allocations: 302.4 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.0149, allocations: 335 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01491, allocations: 3.938 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006848/0.01559, allocations: 0.5092 MB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.01563, allocations: 29.7 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01563, allocations: 4 kB / 330.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.01585, allocations: 64.88 kB / 330.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01601, allocations: 71.89 kB / 330.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.01731, allocations: 1.529 MB / 332.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.01751, allocations: 67.8 kB / 332.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.01752, allocations: 8 kB / 332.4 MB, free: 7.844 MB / 298.7 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.0001212/0.01765, allocations: 149.8 kB / 332.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.01767, allocations: 31.84 kB / 332.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.01771, allocations: 22.16 kB / 332.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01771, allocations: 7.938 kB / 332.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01771, allocations: 7.984 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01772, allocations: 0 / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.01863, allocations: 0.7253 MB / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01863, allocations: 0 / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.01876, allocations: 43.91 kB / 333.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.0189, allocations: 64.84 kB / 333.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01891, allocations: 4 kB / 333.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.02002, allocations: 1.525 MB / 335 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02002, allocations: 0 / 335 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.02084, allocations: 0.5655 MB / 335.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.02088, allocations: 31.72 kB / 335.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.0209, allocations: 8 kB / 335.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.02105, allocations: 31.95 kB / 335.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.02114, allocations: 27.91 kB / 335.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.02115, allocations: 4 kB / 335.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.02132, allocations: 211.1 kB / 335.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02132, allocations: 0 / 335.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.02165, allocations: 87.91 kB / 335.9 MB, free: 4.105 MB / 298.7 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.001324/0.02297, allocations: 1.104 MB / 337 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006589/0.02363, allocations: 471.1 kB / 337.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02363, allocations: 4.062 kB / 337.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.0239, allocations: 226.5 kB / 337.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.02423, allocations: 60.67 kB / 337.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.02858, allocations: 3.755 MB / 341.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.02869, allocations: 163.7 kB / 341.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.02879, allocations: 30.97 kB / 341.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.02891, allocations: 96.47 kB / 341.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02891, allocations: 0 / 341.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.05344, allocations: 8.165 MB / 350 MB, free: 5.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.855, allocations: 0.5625 kB / 350 MB, free: 5.961 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/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] "" Variables in the reference:time,firstOrder.c.v,firstOrder.opAmp.out.v,firstOrder.opAmp.out.i Variables in the result:time,firstOrder.c.v [Calling sys.exit(0), Time elapsed: 9.637398161925375]