Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009383/0.0009382, allocations: 100.9 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3031/0.3031, allocations: 43.5 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 60.06 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1081, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002638/0.1108, allocations: 1.606 MB / 488.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.111, allocations: 64.91 kB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.1111, allocations: 0 / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.63e-05/0.1112, allocations: 4 kB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.1113, allocations: 3.938 kB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1114, allocations: 11.98 kB / 488.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.1115, allocations: 47.84 kB / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1116, allocations: 8 kB / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.1116, allocations: 15.92 kB / 488.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.1117, allocations: 7.938 kB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1117, allocations: 4 kB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.1117, allocations: 0 / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1117, allocations: 11.92 kB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.1118, allocations: 11.94 kB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.568e-05/0.1119, allocations: 36.05 kB / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1119, allocations: 4 kB / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1119, allocations: 0 / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1119, allocations: 4 kB / 488.8 MB, free: 10.7 MB / 378.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.0004218/0.1123, allocations: 355.4 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1124, allocations: 8.031 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.1124, allocations: 4.938 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1126, allocations: 180.2 kB / 489.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1126, allocations: 4.312 kB / 489.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1126, allocations: 8.375 kB / 489.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1128, allocations: 68.83 kB / 489.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1128, allocations: 192 / 489.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1128, allocations: 7.938 kB / 489.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1128, allocations: 0 / 489.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.1129, allocations: 27.86 kB / 489.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1134, allocations: 453.1 kB / 489.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1135, allocations: 50.48 kB / 490 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.1136, allocations: 12.86 kB / 490 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1136, allocations: 4 kB / 490 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.1136, allocations: 30.56 kB / 490 MB, free: 9.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1136, allocations: 0 / 490 MB, free: 9.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004093/0.114, allocations: 113.5 kB / 490.1 MB, free: 9.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1141, allocations: 51.41 kB / 490.2 MB, free: 9.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1142, allocations: 109.8 kB / 490.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1142, allocations: 29.7 kB / 490.3 MB, free: 9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1142, allocations: 104 kB / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.1143, allocations: 11.75 kB / 490.4 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1143, allocations: 21.72 kB / 490.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.1144, allocations: 322.8 kB / 490.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1145, allocations: 16 kB / 490.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.1145, allocations: 39.42 kB / 490.8 MB, free: 8.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1146, allocations: 63.34 kB / 490.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1146, allocations: 0 / 490.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.1148, allocations: 85.55 kB / 491 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1148, allocations: 8.094 kB / 491 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1148, allocations: 4 kB / 491 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1148, allocations: 0 / 491 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.1149, allocations: 8 kB / 491 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.1149, allocations: 4 kB / 491 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.1149, allocations: 3.984 kB / 491 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.115, allocations: 4 kB / 491 MB, free: 8.27 MB / 378.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.788e-05/0.115, allocations: 117.8 kB / 491.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1151, allocations: 7.844 kB / 491.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1151, allocations: 15.91 kB / 491.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1151, allocations: 0 / 491.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1151, allocations: 0 / 491.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1151, allocations: 384 / 491.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1153, allocations: 169.6 kB / 491.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1153, allocations: 4 kB / 491.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.1154, allocations: 11.98 kB / 491.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1154, allocations: 3.938 kB / 491.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1154, allocations: 0 / 491.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1154, allocations: 0 / 491.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1154, allocations: 4 kB / 491.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.1163, allocations: 1.07 MB / 492.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1164, allocations: 81.11 kB / 492.5 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1164, allocations: 4.031 kB / 492.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.1165, allocations: 3.984 kB / 492.5 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1165, allocations: 3.938 kB / 492.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1165, allocations: 4 kB / 492.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.523e-05/0.1166, allocations: 91.27 kB / 492.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.422e-06/0.1166, allocations: 0 / 492.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.1169, allocations: 15.94 kB / 492.6 MB, free: 6.457 MB / 378.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 9.784e-05/0.117, allocations: 103.2 kB / 492.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1171, allocations: 39.91 kB / 492.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.1171, allocations: 4 kB / 492.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.1172, allocations: 8 kB / 492.8 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1175, allocations: 11.98 kB / 492.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.118, allocations: 303.3 kB / 493.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1182, allocations: 0.6809 MB / 493.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.1183, allocations: 4 kB / 493.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1183, allocations: 15.42 kB / 493.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1183, allocations: 0 / 493.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of Templates: time 0.002332/0.1206, allocations: 497.2 kB / 494.2 MB, free: 4.734 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches