Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.0008249/0.0008249, allocations: 76.08 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.0007691/0.0007691, allocations: 157.4 kB / 23.93 MB, free: 0.625 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.9126/0.9126, 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.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 318.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.635e-05, allocations: 6.219 kB / 318.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003021/0.003048, allocations: 2.672 MB / 321.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004238, allocations: 0.6895 MB / 321.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.004411, allocations: 7.938 kB / 321.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.00456, allocations: 47.5 kB / 321.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.004745, allocations: 111.1 kB / 322 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.005065, allocations: 119.7 kB / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.005413, allocations: 398.3 kB / 322.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.005584, allocations: 83.67 kB / 322.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.005825, allocations: 223.5 kB / 322.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.005953, allocations: 127.6 kB / 322.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.005994, allocations: 40 kB / 323 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.006027, allocations: 36 kB / 323 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.006077, allocations: 79.69 kB / 323.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.006167, allocations: 119.7 kB / 323.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.006488, allocations: 438.6 kB / 323.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00649, allocations: 0 / 323.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006491, allocations: 0 / 323.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.006496, allocations: 0 / 323.6 MB, free: 1.004 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009551/0.007451, allocations: 0.588 MB / 324.2 MB, free: 392 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.007496, allocations: 8.922 kB / 324.2 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.007548, allocations: 66.72 kB / 324.3 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.007612, allocations: 36.7 kB / 324.3 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.007951, allocations: 234.2 kB / 324.6 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.00798, allocations: 20.95 kB / 324.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.008017, allocations: 24.38 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.008486, allocations: 341 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008496, allocations: 192 / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.008517, allocations: 8.125 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.008524, allocations: 8 kB / 324.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.008969, allocations: 277.8 kB / 325.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01021, allocations: 1.053 MB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.01071, allocations: 230.6 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.01089, allocations: 104.8 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01091, allocations: 0 / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.01119, allocations: 198.6 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.01119, allocations: 0 / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001065/0.01225, allocations: 0.5136 MB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.0123, allocations: 81.11 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.0125, allocations: 273.7 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01252, allocations: 33.7 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.01261, allocations: 200 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01264, allocations: 43.69 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.0127, allocations: 41.7 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.01279, allocations: 334.8 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.01299, allocations: 125.9 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.01321, allocations: 254.9 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.01359, allocations: 307.1 kB / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01359, allocations: 0 / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006411/0.01424, allocations: 477.5 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.01427, allocations: 37.7 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01427, allocations: 64 / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.01447, allocations: 72.75 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.0146, allocations: 55.89 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.01584, allocations: 1.514 MB / 331.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.016, allocations: 55.8 kB / 331.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.01602, allocations: 11.98 kB / 331.2 MB, free: 8.949 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.000114/0.01613, allocations: 162.3 kB / 331.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.01615, allocations: 23.86 kB / 331.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.01618, allocations: 21.77 kB / 331.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01618, allocations: 4 kB / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01618, allocations: 0 / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01619, allocations: 0 / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.01638, allocations: 256.5 kB / 331.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01638, allocations: 0 / 331.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.01648, allocations: 39.91 kB / 331.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.0166, allocations: 56.81 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01661, allocations: 4 kB / 331.7 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.01773, allocations: 1.517 MB / 333.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01773, allocations: 0 / 333.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.01843, allocations: 450 kB / 333.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.01846, allocations: 31.75 kB / 333.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.01848, allocations: 4 kB / 333.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01858, allocations: 27.97 kB / 333.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.01865, allocations: 27.89 kB / 333.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01865, allocations: 4 kB / 333.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.01878, allocations: 197.1 kB / 334 MB, free: 5.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01878, allocations: 0 / 334 MB, free: 5.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.019, allocations: 71.91 kB / 334 MB, free: 5.887 MB / 298.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.001065/0.02007, allocations: 0.9868 MB / 335 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.02063, allocations: 428 kB / 335.4 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02063, allocations: 4.25 kB / 335.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.02085, allocations: 210.5 kB / 335.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.02106, allocations: 47.47 kB / 335.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.02592, allocations: 3.499 MB / 339.2 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.02602, allocations: 146.8 kB / 339.3 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.02613, allocations: 18.3 kB / 339.4 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.02623, allocations: 84.47 kB / 339.4 MB, free: 204 kB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02623, allocations: 3.938 kB / 339.4 MB, free: 200 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.04852, allocations: 7.118 MB / 346.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/7.862, allocations: 10.98 kB / 346.6 MB, free: 9.242 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.0.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.653508380055428]