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.001187/0.001187, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001601/0.001601, allocations: 170 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.8697/0.8697, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.773e-06/1.773e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.177e-05, allocations: 6.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002824/0.002845, allocations: 2.706 MB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.003812, allocations: 0.7245 MB / 328.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003927, allocations: 8 kB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.004056, allocations: 47.52 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.004191, allocations: 107.1 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.004454, allocations: 111.8 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.004789, allocations: 402.3 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.004965, allocations: 87.59 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.005256, allocations: 235.4 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.005377, allocations: 123.6 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.005414, allocations: 43.98 kB / 329.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.017e-05/0.005444, allocations: 40 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.00549, allocations: 71.75 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.005574, allocations: 115.7 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.005911, allocations: 438.6 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.005914, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005915, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.00592, 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.0008297/0.00675, allocations: 0.5887 MB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.006782, allocations: 12.03 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.006825, allocations: 58.73 kB / 330.5 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.006873, allocations: 32.75 kB / 330.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.007152, allocations: 238.1 kB / 330.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.007167, allocations: 24.81 kB / 330.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.0072, allocations: 24.38 kB / 330.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.007622, allocations: 341 kB / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007632, allocations: 4.172 kB / 331.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.007654, allocations: 16.12 kB / 331.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007659, allocations: 4 kB / 331.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.008065, allocations: 277.8 kB / 331.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.00919, allocations: 1.045 MB / 332.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.009667, allocations: 238.5 kB / 332.7 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.009826, allocations: 100.8 kB / 332.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.009843, allocations: 0 / 332.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.0101, allocations: 198.6 kB / 333 MB, free: 7.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 7.91e-07/0.0101, allocations: 0 / 333 MB, free: 7.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001011/0.01112, allocations: 0.5136 MB / 333.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.01116, allocations: 97.02 kB / 333.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01134, allocations: 265.8 kB / 333.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01136, allocations: 29.7 kB / 333.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.01145, allocations: 196 kB / 334.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.01147, allocations: 43.69 kB / 334.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.01161, allocations: 49.66 kB / 334.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.01169, allocations: 326.8 kB / 334.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.01188, allocations: 137.8 kB / 334.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01209, allocations: 239 kB / 334.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.01245, allocations: 315.7 kB / 335.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01246, allocations: 0 / 335.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006129/0.01307, allocations: 476.5 kB / 335.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.0131, allocations: 37.69 kB / 335.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.0131, allocations: 0 / 335.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.01329, allocations: 64.77 kB / 335.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.01341, allocations: 63.95 kB / 335.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.0146, allocations: 1.526 MB / 337.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.01475, allocations: 47.89 kB / 337.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01476, allocations: 16 kB / 337.4 MB, free: 2.562 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.0001102/0.01487, allocations: 149.7 kB / 337.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.01489, allocations: 19.86 kB / 337.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.01492, allocations: 29.77 kB / 337.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01492, allocations: 0 / 337.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01493, allocations: 0 / 337.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01493, allocations: 0 / 337.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.0151, allocations: 256.5 kB / 337.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01511, allocations: 4 kB / 337.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.0152, allocations: 39.89 kB / 337.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.01533, allocations: 56.83 kB / 337.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01534, allocations: 11.92 kB / 338 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.01636, allocations: 1.521 MB / 339.5 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01637, allocations: 0 / 339.5 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.01706, allocations: 453.5 kB / 339.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.01709, allocations: 19.83 kB / 339.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01711, allocations: 11.98 kB / 340 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.01721, allocations: 23.97 kB / 340 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.01728, allocations: 19.97 kB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01729, allocations: 16 kB / 340 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.01743, allocations: 185.2 kB / 340.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01743, allocations: 0 / 340.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01766, allocations: 67.88 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.0008861/0.01855, allocations: 0.9839 MB / 341.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.01911, allocations: 435.6 kB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01911, allocations: 0 / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01932, allocations: 202.6 kB / 341.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.01953, allocations: 52.66 kB / 341.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.02351, allocations: 3.504 MB / 345.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.139e-05/0.02359, allocations: 142.8 kB / 345.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.02366, allocations: 26.28 kB / 345.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.02376, allocations: 80.47 kB / 345.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02376, allocations: 0 / 345.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.04347, allocations: 7.159 MB / 352.8 MB, free: 2.844 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.572, allocations: 0 / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.202819543890655]