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.001002/0.001002, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001023/0.001023, allocations: 165.9 kB / 24.99 MB, free: 8.793 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.9457/0.9457, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2408/0.2408, allocations: 34.25 MB / 296 MB, free: 0.7852 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.243e-06/1.243e-06, allocations: 0 / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.908e-05, allocations: 2.312 kB / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001903/0.001922, allocations: 1.608 MB / 379.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.002166, allocations: 71.78 kB / 379.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.002229, allocations: 3.938 kB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.002331, allocations: 7.922 kB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.844e-05/0.00236, allocations: 4 kB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.002481, allocations: 19.92 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.002576, allocations: 35.86 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.002664, allocations: 11.98 kB / 379.8 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.002709, allocations: 23.91 kB / 379.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.002757, allocations: 8 kB / 379.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.002774, allocations: 4 kB / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.002782, allocations: 0 / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.0028, allocations: 11.92 kB / 379.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.00282, allocations: 4 kB / 379.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.002913, allocations: 27.84 kB / 379.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002916, allocations: 4 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002917, allocations: 0 / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.002941, allocations: 11.98 kB / 379.8 MB, free: 1.152 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.0003535/0.003294, allocations: 368.5 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.003327, allocations: 8.031 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.003363, allocations: 8.875 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.0035, allocations: 132.5 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.003509, allocations: 4.375 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.003528, allocations: 4.375 kB / 380.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003645, allocations: 86 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-06/0.00365, allocations: 192 / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.003658, allocations: 4.375 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.003666, allocations: 4.375 kB / 380.5 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.003698, allocations: 19.86 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.004158, allocations: 0.521 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.004263, allocations: 39.06 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.004285, allocations: 11.69 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.004297, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004316, allocations: 41.41 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004316, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002958/0.004612, allocations: 89.64 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.004638, allocations: 55.41 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.004776, allocations: 177.9 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.004785, allocations: 25.7 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.004837, allocations: 138.8 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.004847, allocations: 11.91 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.004881, allocations: 23.38 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.004978, allocations: 0.5 MB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.004995, allocations: 4 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.005026, allocations: 50.72 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.005076, allocations: 54.69 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.005076, allocations: 0 / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.697e-05/0.005153, allocations: 73.52 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.005166, allocations: 4 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005172, allocations: 7.984 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.005184, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.853e-05/0.005223, allocations: 8.094 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.005228, allocations: 11.94 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.005246, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.005252, allocations: 4 kB / 382.3 MB, free: 14.42 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 6.102e-05/0.005313, allocations: 164.6 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.005327, allocations: 3.938 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.005348, allocations: 12 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.005349, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.005352, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005355, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.347e-05/0.005449, allocations: 124.6 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.00545, allocations: 4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.005488, allocations: 11.98 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00549, allocations: 3.938 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005498, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005499, allocations: 4 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005499, allocations: 0 / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.005625, allocations: 211.8 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-06/0.005631, allocations: 3.953 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.005642, allocations: 7.922 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.005671, allocations: 4 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.005683, allocations: 4.031 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005685, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.005724, allocations: 135.2 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005724, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.005873, allocations: 8 kB / 383 MB, free: 13.67 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 6.524e-05/0.005939, allocations: 95.19 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.006145, allocations: 35.55 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006146, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.006166, allocations: 27.98 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.006367, allocations: 8.188 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.006696, allocations: 154.1 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.006729, allocations: 59.34 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.006755, allocations: 4 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.006777, allocations: 8.5 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006778, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.002189/0.008966, allocations: 488.5 kB / 383.9 MB, free: 12.74 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: 2.8071746949572116]