Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0009169/0.0009169, allocations: 79.7 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.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.0009977/0.0009977, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8939/0.8939, allocations: 177.1 MB / 204.2 MB, free: 5.734 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.LowPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.958e-05, allocations: 6.219 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002855/0.002875, allocations: 2.897 MB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004068, allocations: 0.7714 MB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.004231, allocations: 11.94 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.004369, allocations: 55.44 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.00455, allocations: 127 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.004827, allocations: 127.8 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.005198, allocations: 470 kB / 329.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.005375, allocations: 103.3 kB / 329.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.005706, allocations: 267.4 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005849, allocations: 143.6 kB / 329.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.005891, allocations: 48 kB / 329.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.005927, allocations: 48 kB / 329.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.005979, allocations: 91.61 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.006074, allocations: 135.7 kB / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.006431, allocations: 0.4985 MB / 330.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006433, allocations: 0 / 330.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006435, allocations: 0 / 330.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.00644, allocations: 0 / 330.4 MB, free: 10.11 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001048/0.007488, allocations: 0.65 MB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.007525, allocations: 12.03 kB / 331 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.007572, allocations: 58.73 kB / 331.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.007625, allocations: 44.7 kB / 331.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.007923, allocations: 256.6 kB / 331.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.007943, allocations: 21.03 kB / 331.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.007977, allocations: 28.38 kB / 331.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.008434, allocations: 401 kB / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008445, allocations: 3.938 kB / 331.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.008465, allocations: 16 kB / 331.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.008471, allocations: 8 kB / 331.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.008903, allocations: 306.4 kB / 332.2 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01011, allocations: 1.125 MB / 333.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.01054, allocations: 246.3 kB / 333.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.01076, allocations: 128.7 kB / 333.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.01078, allocations: 11.97 kB / 333.7 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.01108, allocations: 249.2 kB / 333.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.01108, allocations: 0 / 333.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001101/0.01218, allocations: 0.5747 MB / 334.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.01223, allocations: 106.8 kB / 334.6 MB, free: 5.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.01244, allocations: 300.4 kB / 334.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01246, allocations: 29.7 kB / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.01256, allocations: 216.3 kB / 335.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.01259, allocations: 59.55 kB / 335.2 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.01266, allocations: 53.69 kB / 335.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.01274, allocations: 342.8 kB / 335.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.01294, allocations: 137.9 kB / 335.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.01319, allocations: 298.4 kB / 336 MB, free: 4.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.01359, allocations: 335.7 kB / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.0136, allocations: 3.938 kB / 336.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006697/0.01426, allocations: 0.516 MB / 336.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.01429, allocations: 33.7 kB / 336.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.0143, allocations: 0 / 336.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.01449, allocations: 72.81 kB / 336.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01464, allocations: 67.89 kB / 337 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.01596, allocations: 1.529 MB / 338.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.01613, allocations: 55.8 kB / 338.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01614, allocations: 12 kB / 338.6 MB, free: 1.348 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.0001157/0.01626, allocations: 153.7 kB / 338.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.01628, allocations: 23.86 kB / 338.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.01632, allocations: 42.19 kB / 338.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01632, allocations: 3.938 kB / 338.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.01632, allocations: 96 / 338.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01633, allocations: 3.938 kB / 338.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.01715, allocations: 0.7176 MB / 339.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01715, allocations: 4 kB / 339.5 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01727, allocations: 47.98 kB / 339.6 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.01739, allocations: 64.75 kB / 339.6 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.0174, allocations: 4 kB / 339.7 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.01841, allocations: 1.514 MB / 341.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01841, allocations: 7.922 kB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.01914, allocations: 0.5686 MB / 341.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.01918, allocations: 35.75 kB / 341.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.0192, allocations: 0 / 341.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.01934, allocations: 31.97 kB / 341.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.01939, allocations: 23.95 kB / 341.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.0194, allocations: 16 kB / 341.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.01955, allocations: 215.1 kB / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01955, allocations: 0 / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.0198, allocations: 79.84 kB / 342.1 MB, free: 13.6 MB / 314.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.0009456/0.02075, allocations: 1.116 MB / 343.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.02135, allocations: 459.6 kB / 343.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02135, allocations: 0 / 343.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.0216, allocations: 226.5 kB / 343.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.02189, allocations: 59.89 kB / 344 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.02625, allocations: 3.755 MB / 347.7 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.02635, allocations: 163.7 kB / 347.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02645, allocations: 34.95 kB / 347.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02656, allocations: 96.47 kB / 348 MB, free: 7.422 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02656, allocations: 0 / 348 MB, free: 7.422 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.05037, allocations: 8.184 MB / 356.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/7.969, allocations: 7.062 kB / 356.2 MB, free: 15.43 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_4.1.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.754739998839796]