Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.0009768/0.0009768, 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.001123/0.001123, 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.9389/0.9389, 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.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.069e-05, allocations: 6.219 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003122/0.003142, allocations: 2.71 MB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004273, allocations: 0.7284 MB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.004431, allocations: 4 kB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004575, allocations: 55.44 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.004735, allocations: 95.19 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.005033, allocations: 127.7 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.005355, allocations: 398.3 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.005516, allocations: 83.61 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.00581, allocations: 235.4 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.005952, allocations: 123.6 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.005991, allocations: 40 kB / 329.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.006031, allocations: 36 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.006078, allocations: 75.73 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.006164, allocations: 119.7 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.006508, allocations: 434.7 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00651, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006512, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.006518, allocations: 0 / 329.8 MB, free: 10.64 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008473/0.007366, allocations: 0.6033 MB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.007407, allocations: 8.031 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.007451, allocations: 58.73 kB / 330.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.007498, allocations: 32.75 kB / 330.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.007775, allocations: 238.1 kB / 330.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.007791, allocations: 20.88 kB / 330.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.007822, allocations: 24.38 kB / 330.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.008241, allocations: 341 kB / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.008249, allocations: 192 / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.00827, allocations: 16.12 kB / 331.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.008278, allocations: 8 kB / 331.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.008675, allocations: 273.8 kB / 331.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.009796, allocations: 1.053 MB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.01029, allocations: 238.5 kB / 332.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.01045, allocations: 92.78 kB / 332.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01047, allocations: 4 kB / 332.8 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.01076, allocations: 198.6 kB / 333 MB, free: 7.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.01076, allocations: 0 / 333 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0011/0.01186, allocations: 0.5136 MB / 333.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.01192, allocations: 81.11 kB / 333.6 MB, free: 6.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.01214, allocations: 273.7 kB / 333.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.01216, allocations: 29.7 kB / 333.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.01225, allocations: 196 kB / 334.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.01228, allocations: 43.69 kB / 334.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.01234, allocations: 49.66 kB / 334.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.01242, allocations: 330.8 kB / 334.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01261, allocations: 137.8 kB / 334.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01282, allocations: 243 kB / 334.9 MB, free: 5.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.01319, allocations: 311.6 kB / 335.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01319, allocations: 0 / 335.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006272/0.01382, allocations: 469.6 kB / 335.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.01385, allocations: 33.7 kB / 335.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.01386, allocations: 4 kB / 335.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.01407, allocations: 72.8 kB / 335.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.0142, allocations: 59.89 kB / 335.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.01555, allocations: 1.532 MB / 337.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.0157, allocations: 47.8 kB / 337.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01572, allocations: 8 kB / 337.4 MB, free: 2.566 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 (25): * Single equations (assignments): 23 * 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.0001123/0.01583, allocations: 149.8 kB / 337.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.01586, allocations: 27.84 kB / 337.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.01588, allocations: 21.78 kB / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.01589, allocations: 0 / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01589, allocations: 0 / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01589, allocations: 3.984 kB / 337.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.01607, allocations: 256.5 kB / 337.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01607, allocations: 4 kB / 337.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.01617, allocations: 27.97 kB / 337.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.01629, allocations: 72.73 kB / 337.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.0163, allocations: 11.92 kB / 338 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.01731, allocations: 1.517 MB / 339.5 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01731, allocations: 3.938 kB / 339.5 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.01799, allocations: 449.9 kB / 339.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.01801, allocations: 23.83 kB / 339.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01803, allocations: 4 kB / 339.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.01813, allocations: 31.95 kB / 340 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.01819, allocations: 19.97 kB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.0182, allocations: 4 kB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.01833, allocations: 185.2 kB / 340.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01833, allocations: 0 / 340.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.01855, allocations: 79.89 kB / 340.3 MB, free: 15.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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.0008808/0.01943, allocations: 0.9683 MB / 341.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.01997, allocations: 444 kB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01998, allocations: 4.062 kB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.02019, allocations: 202.6 kB / 341.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.02039, allocations: 44.47 kB / 341.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.02438, allocations: 3.507 MB / 345.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.836e-05/0.02447, allocations: 142.8 kB / 345.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.02454, allocations: 26.28 kB / 345.6 MB, free: 9.906 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.02464, allocations: 88.45 kB / 345.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02464, allocations: 0 / 345.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.04512, allocations: 7.147 MB / 352.8 MB, free: 2.852 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.78, allocations: 14.91 kB / 352.8 MB, free: 2.844 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_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_Integrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,integrator.c.v,integrator.opAmp.out.v,integrator.opAmp.out.i Variables in the result:time,integrator.c.v [Calling sys.exit(0), Time elapsed: 9.616848904639482]