Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.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.001054/0.001054, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001132/0.001132, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2991/0.2991, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.337e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002744/0.002768, allocations: 1.596 MB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.003041, allocations: 75.78 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.003109, allocations: 3.938 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003226, allocations: 7.922 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.003262, allocations: 3.938 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003401, allocations: 19.92 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.003661, allocations: 31.92 kB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003764, allocations: 11.98 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5e-05/0.003814, allocations: 19.92 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.003864, allocations: 7.984 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.003883, allocations: 4 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.003894, allocations: 8 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.003912, allocations: 3.938 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.003939, allocations: 15.97 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.004048, allocations: 23.86 kB / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00405, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004051, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004055, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004246/0.004479, allocations: 380.5 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.004522, allocations: 8.031 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.004561, allocations: 4.938 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.004734, allocations: 140.5 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004744, allocations: 384 / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.004773, allocations: 4.375 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.004935, allocations: 90 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004945, allocations: 4.125 kB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.004956, allocations: 384 / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.004965, allocations: 384 / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.005005, allocations: 11.94 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.005493, allocations: 0.5249 MB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.00563, allocations: 39.05 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.00566, allocations: 15.69 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.005676, allocations: 3.938 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.005704, allocations: 41.33 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.005705, allocations: 0 / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.006083, allocations: 85.73 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.006113, allocations: 55.39 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006217, allocations: 173.9 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006228, allocations: 29.64 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.006295, allocations: 142.8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.006309, allocations: 15.89 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.006351, allocations: 27.38 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.006486, allocations: 0.4884 MB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.006508, allocations: 4 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.00655, allocations: 42.73 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.006621, allocations: 58.67 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006623, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001134/0.006736, allocations: 77.52 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006751, allocations: 8 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006756, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.006774, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.006832, allocations: 15.92 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.006837, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.006869, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.006877, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/0.006956, allocations: 160.6 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.006984, allocations: 12.03 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.007011, allocations: 7.984 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007013, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007016, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007019, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.007194, allocations: 124.6 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007195, allocations: 4 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.00725, allocations: 8 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007253, allocations: 3.938 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.007263, allocations: 0 / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007265, allocations: 3.984 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007267, allocations: 7.938 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.007446, allocations: 211.8 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.00746, allocations: 7.953 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.007475, allocations: 3.938 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.007527, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.007547, allocations: 7.984 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.007551, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.007603, allocations: 135.2 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007603, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.007877, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.048e-05/0.007957, allocations: 99.22 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.008063, allocations: 35.89 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008065, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.008086, allocations: 15.62 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.008379, allocations: 16.17 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.008696, allocations: 150 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.008739, allocations: 55.36 kB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.008771, allocations: 12.17 kB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.0088, allocations: 12.5 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008801, allocations: 0 / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.002155/0.01096, allocations: 486.8 kB / 383.9 MB, free: 12.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1969135869294405]