Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009632/0.0009632, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009571/0.0009571, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9012/0.9012, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.36e-05, allocations: 2.281 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00324/0.003264, allocations: 2.713 MB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.004222, allocations: 0.6933 MB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.004346, allocations: 11.94 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.004483, allocations: 47.56 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.004631, allocations: 115 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.004857, allocations: 83.89 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.005183, allocations: 406.1 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.005365, allocations: 83.67 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.005671, allocations: 239.3 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.00581, allocations: 127.6 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.005854, allocations: 36 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.504e-05/0.005889, allocations: 40 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.005941, allocations: 79.72 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.006045, allocations: 115.7 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.006575, allocations: 446.6 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006578, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.006579, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.006585, 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008124/0.007397, allocations: 0.5846 MB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.007444, allocations: 15.98 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.00749, allocations: 58.73 kB / 330.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.007545, allocations: 40.69 kB / 330.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.007832, allocations: 237.1 kB / 330.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.007847, allocations: 20.88 kB / 330.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.007882, allocations: 28.38 kB / 330.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.008251, allocations: 319.9 kB / 331 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.00826, allocations: 192 / 331 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.008282, allocations: 16.12 kB / 331.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008289, allocations: 8 kB / 331.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.008653, allocations: 253.8 kB / 331.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.009767, allocations: 1.005 MB / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.01018, allocations: 198.6 kB / 332.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01033, allocations: 92.73 kB / 332.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.01035, allocations: 4 kB / 332.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.01064, allocations: 218.1 kB / 332.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.01064, allocations: 0 / 332.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001012/0.01165, allocations: 388.9 kB / 333.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.01171, allocations: 110.8 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.01189, allocations: 269.8 kB / 333.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.01191, allocations: 33.7 kB / 333.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.012, allocations: 196.1 kB / 333.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.01203, allocations: 47.58 kB / 333.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.01209, allocations: 49.94 kB / 333.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.01217, allocations: 334.8 kB / 334.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.01233, allocations: 113.9 kB / 334.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.01255, allocations: 264.6 kB / 334.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.01286, allocations: 290.8 kB / 334.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01286, allocations: 4 kB / 334.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004955/0.01336, allocations: 408.8 kB / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.01339, allocations: 44.91 kB / 335.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.0134, allocations: 7.984 kB / 335.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.01359, allocations: 52.81 kB / 335.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01371, allocations: 63.92 kB / 335.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.01478, allocations: 1.481 MB / 336.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.01492, allocations: 51.84 kB / 337 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.01493, allocations: 15.94 kB / 337 MB, free: 2.859 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.01505, allocations: 141.8 kB / 337.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.01507, allocations: 23.81 kB / 337.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.0151, allocations: 33.7 kB / 337.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.0151, allocations: 0 / 337.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.0151, allocations: 0 / 337.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0151, allocations: 4 kB / 337.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01529, allocations: 264.5 kB / 337.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01529, allocations: 0 / 337.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01539, allocations: 31.97 kB / 337.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.01553, allocations: 56.8 kB / 337.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01554, allocations: 4 kB / 337.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.01645, allocations: 1.492 MB / 339 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01645, allocations: 4.031 kB / 339 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.01699, allocations: 385.5 kB / 339.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.01702, allocations: 23.89 kB / 339.4 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01703, allocations: 7.922 kB / 339.4 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.01713, allocations: 32.03 kB / 339.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.01719, allocations: 19.97 kB / 339.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.0172, allocations: 8 kB / 339.5 MB, free: 148 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.01733, allocations: 189.2 kB / 339.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01733, allocations: 0 / 339.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01754, allocations: 75.83 kB / 339.8 MB, free: 15.89 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009857/0.01852, allocations: 0.924 MB / 340.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.01903, allocations: 419.6 kB / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01903, allocations: 0 / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.01924, allocations: 214.5 kB / 341.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01946, allocations: 48.98 kB / 341.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.02276, allocations: 3.189 MB / 344.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.02284, allocations: 146.9 kB / 344.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.02291, allocations: 22.3 kB / 344.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.02301, allocations: 88.47 kB / 344.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02301, allocations: 0 / 344.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.04964, allocations: 7.512 MB / 352.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.627, allocations: 0 / 352.3 MB, free: 3.219 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_trunk_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.393542698584497]