Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.694/1.694, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008982/0.0008981, allocations: 90 kB / 270.9 MB, free: 8.359 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.4897/0.4897, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 8 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00242/0.1323, allocations: 1.248 MB / 491.5 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.1326, allocations: 63.75 kB / 491.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.1327, allocations: 4 kB / 491.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1329, allocations: 3.938 kB / 491.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1329, allocations: 3.938 kB / 491.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1331, allocations: 15.98 kB / 491.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1332, allocations: 31.86 kB / 491.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1333, allocations: 11.97 kB / 491.6 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.1334, allocations: 8 kB / 491.6 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.1335, allocations: 11.92 kB / 491.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1335, allocations: 4 kB / 491.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.1335, allocations: 7.938 kB / 491.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1335, allocations: 4 kB / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.1336, allocations: 29.7 kB / 491.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.075e-05/0.1337, allocations: 23.95 kB / 491.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1337, allocations: 0 / 491.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1337, allocations: 0 / 491.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1337, allocations: 0 / 491.7 MB, free: 9.512 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.0004805/0.1342, allocations: 355.4 kB / 492 MB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1342, allocations: 8.031 kB / 492 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1343, allocations: 4 kB / 492 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1345, allocations: 186.8 kB / 492.2 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1345, allocations: 7.984 kB / 492.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1346, allocations: 4 kB / 492.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1348, allocations: 64.27 kB / 492.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1348, allocations: 7.938 kB / 492.3 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1348, allocations: 4 kB / 492.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1348, allocations: 0 / 492.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.1349, allocations: 23.98 kB / 492.3 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.1356, allocations: 458.3 kB / 492.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1358, allocations: 46.56 kB / 492.8 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.1359, allocations: 12.86 kB / 492.8 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1359, allocations: 0 / 492.8 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.1359, allocations: 42.56 kB / 492.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.136, allocations: 0 / 492.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005494/0.1365, allocations: 117.4 kB / 493 MB, free: 8.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1366, allocations: 55.34 kB / 493.1 MB, free: 7.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1367, allocations: 118 kB / 493.2 MB, free: 7.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1367, allocations: 25.7 kB / 493.2 MB, free: 7.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1368, allocations: 99.97 kB / 493.3 MB, free: 7.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1368, allocations: 15.75 kB / 493.3 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-06/0.1368, allocations: 0 / 493.3 MB, free: 7.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.137, allocations: 318.8 kB / 493.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.744e-05/0.137, allocations: 16 kB / 493.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.1371, allocations: 47.41 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.1372, allocations: 19.98 kB / 493.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1372, allocations: 0 / 493.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.1374, allocations: 93.52 kB / 493.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1374, allocations: 4 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1374, allocations: 0 / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1374, allocations: 7.953 kB / 493.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.1375, allocations: 11.94 kB / 493.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1375, allocations: 4 kB / 493.8 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1375, allocations: 4.359 kB / 493.8 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1376, allocations: 8 kB / 493.8 MB, free: 7.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/0.1376, allocations: 118.3 kB / 494 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1377, allocations: 0 / 494 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.1377, allocations: 15.84 kB / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1377, allocations: 3.984 kB / 494 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1377, allocations: 3.953 kB / 494 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1377, allocations: 0 / 494 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.1379, allocations: 173.7 kB / 494.1 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1379, allocations: 0 / 494.1 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.138, allocations: 15.92 kB / 494.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.138, allocations: 4 kB / 494.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1381, allocations: 0 / 494.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1381, allocations: 0 / 494.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1381, allocations: 4 kB / 494.2 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1383, allocations: 187.4 kB / 494.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.1384, allocations: 81.17 kB / 494.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1384, allocations: 0 / 494.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.1385, allocations: 7.938 kB / 494.4 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1385, allocations: 3.984 kB / 494.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1385, allocations: 4 kB / 494.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.1386, allocations: 87.23 kB / 494.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 494.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.1388, allocations: 12 kB / 494.5 MB, free: 6.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.1389, allocations: 99.19 kB / 494.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1391, allocations: 43.97 kB / 494.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1391, allocations: 0 / 494.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.1391, allocations: 19.92 kB / 494.7 MB, free: 6.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1395, allocations: 8 kB / 494.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.1399, allocations: 210.8 kB / 494.9 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1402, allocations: 0.6809 MB / 495.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1402, allocations: 11.44 kB / 495.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1403, allocations: 0 / 495.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of Templates: time 0.002189/0.1424, allocations: 0.7737 MB / 496.4 MB, free: 4.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches