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.0008596/0.0008597, allocations: 174.7 kB / 16.72 MB, free: 5.078 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.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007253/0.0007253, allocations: 90.34 kB / 271.2 MB, free: 8.238 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.2789/0.2789, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.0903, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001508/0.09185, allocations: 1.256 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.09204, allocations: 55.83 kB / 492.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.0921, allocations: 4 kB / 492.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.09218, allocations: 7.922 kB / 492.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.09222, allocations: 3.938 kB / 492.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.598e-05/0.09232, allocations: 11.98 kB / 492.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.09243, allocations: 35.86 kB / 492.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.09252, allocations: 8 kB / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.09255, allocations: 19.92 kB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.09259, allocations: 3.938 kB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.09262, allocations: 4 kB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.09263, allocations: 0 / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.09265, allocations: 7.984 kB / 492.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.09269, allocations: 45.56 kB / 492.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.383e-05/0.09275, allocations: 19.91 kB / 492.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09276, allocations: 0 / 492.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09277, allocations: 0 / 492.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.09278, allocations: 0 / 492.3 MB, free: 9.391 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.0003834/0.09317, allocations: 355.6 kB / 492.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.09321, allocations: 8.031 kB / 492.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.09324, allocations: 4.938 kB / 492.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.09341, allocations: 184.2 kB / 492.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.09342, allocations: 384 / 492.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.09345, allocations: 8.375 kB / 492.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.09363, allocations: 85.91 kB / 492.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.09365, allocations: 192 / 492.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09366, allocations: 3.938 kB / 492.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.09367, allocations: 0 / 492.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.09376, allocations: 31.92 kB / 493 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.09421, allocations: 453.2 kB / 493.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.09437, allocations: 50.48 kB / 493.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.09443, allocations: 20.86 kB / 493.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.09445, allocations: 0 / 493.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.09447, allocations: 30.56 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.09448, allocations: 0 / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004036/0.09489, allocations: 117.6 kB / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.09493, allocations: 51.41 kB / 493.7 MB, free: 7.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.09501, allocations: 113.8 kB / 493.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.09503, allocations: 29.64 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.09509, allocations: 95.98 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.09511, allocations: 11.8 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.09512, allocations: 4 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.09522, allocations: 318.8 kB / 494.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.09527, allocations: 19.98 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.09534, allocations: 39.42 kB / 494.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.09546, allocations: 67.36 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.09547, allocations: 384 / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.09563, allocations: 93.45 kB / 494.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.09565, allocations: 4 kB / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.09566, allocations: 0 / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.09568, allocations: 8.031 kB / 494.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.09574, allocations: 19.98 kB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.09576, allocations: 0 / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.0958, allocations: 4 kB / 494.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.09581, allocations: 0 / 494.5 MB, free: 6.945 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 7.867e-05/0.09589, allocations: 117.8 kB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.09592, allocations: 4.375 kB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.09595, allocations: 11.89 kB / 494.6 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.09596, allocations: 3.984 kB / 494.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.09597, allocations: 4 kB / 494.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.09598, allocations: 4 kB / 494.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.09614, allocations: 169.6 kB / 494.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09614, allocations: 3.938 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.09622, allocations: 8 kB / 494.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09623, allocations: 0 / 494.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.09624, allocations: 4 kB / 494.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.09625, allocations: 0 / 494.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.09625, allocations: 3.984 kB / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.09648, allocations: 183.4 kB / 495 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.09652, allocations: 81.02 kB / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.09654, allocations: 4 kB / 495.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.09661, allocations: 8.016 kB / 495.1 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.09664, allocations: 4 kB / 495.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.09666, allocations: 8.062 kB / 495.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.09671, allocations: 99.14 kB / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09672, allocations: 0 / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.09694, allocations: 4 kB / 495.2 MB, free: 6.141 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 8.492e-05/0.09703, allocations: 99.17 kB / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.09717, allocations: 44.05 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.09718, allocations: 4.062 kB / 495.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.09724, allocations: 19.98 kB / 495.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.09752, allocations: 15.78 kB / 495.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.09791, allocations: 198.8 kB / 495.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.09815, allocations: 0.6848 MB / 496.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.09818, allocations: 15.38 kB / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.09819, allocations: 0 / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of Templates: time 0.001712/0.0999, allocations: 0.7736 MB / 497 MB, free: 4.227 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