Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 170.7 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007656/0.0007657, allocations: 94.36 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3603/0.3603, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 8 kB / 432.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09012, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001434/0.09158, allocations: 1.26 MB / 492.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.09177, allocations: 53.02 kB / 492.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.09184, allocations: 7.938 kB / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.788e-05/0.09192, allocations: 0 / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.755e-05/0.09196, allocations: 7.938 kB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.614e-05/0.09206, allocations: 11.98 kB / 492.5 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.09216, allocations: 47.83 kB / 492.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.09224, allocations: 8 kB / 492.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.09227, allocations: 11.94 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.09231, allocations: 11.92 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.09233, allocations: 0 / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.09234, allocations: 0 / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.09237, allocations: 11.94 kB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.09241, allocations: 37.64 kB / 492.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.479e-05/0.09248, allocations: 32.03 kB / 492.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.09249, allocations: 0 / 492.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.0925, allocations: 8 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.09251, allocations: 0 / 492.7 MB, free: 8.523 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.0003401/0.09285, allocations: 343.4 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.0929, allocations: 12.03 kB / 493 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.09292, allocations: 0.9375 kB / 493 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.09307, allocations: 184.2 kB / 493.2 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.09309, allocations: 4.312 kB / 493.2 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.09311, allocations: 4.375 kB / 493.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.09326, allocations: 76.8 kB / 493.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.09328, allocations: 4.188 kB / 493.3 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.09329, allocations: 11.88 kB / 493.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.0933, allocations: 0 / 493.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.09339, allocations: 27.92 kB / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.09381, allocations: 453.1 kB / 493.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.09396, allocations: 50.5 kB / 493.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.09402, allocations: 20.94 kB / 493.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.09404, allocations: 4 kB / 493.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.09406, allocations: 30.56 kB / 493.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.09407, allocations: 0 / 493.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003876/0.09446, allocations: 113.5 kB / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.0945, allocations: 51.41 kB / 494 MB, free: 6.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.09458, allocations: 117.8 kB / 494.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.0946, allocations: 25.7 kB / 494.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.09464, allocations: 91.98 kB / 494.2 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.09466, allocations: 19.8 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.09467, allocations: 0 / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.09476, allocations: 322.8 kB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.09482, allocations: 19.92 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.09488, allocations: 43.42 kB / 494.6 MB, free: 6.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.09499, allocations: 63.69 kB / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.095, allocations: 0 / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001543/0.09516, allocations: 97.44 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09518, allocations: 8.094 kB / 494.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.09519, allocations: 0 / 494.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.09521, allocations: 4 kB / 494.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.09527, allocations: 8 kB / 494.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.09529, allocations: 11.98 kB / 494.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.09533, allocations: 0 / 494.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.09534, allocations: 4 kB / 494.8 MB, free: 6.082 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.035e-05/0.09542, allocations: 117.8 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.09545, allocations: 3.938 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.09548, allocations: 15.91 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.09549, allocations: 384 / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.0955, allocations: 0 / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09551, allocations: 3.984 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.09565, allocations: 173.6 kB / 495.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09566, allocations: 3.938 kB / 495.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.09574, allocations: 8 kB / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.09575, allocations: 0 / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.09576, allocations: 0 / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.09577, allocations: 0 / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.09578, allocations: 8 kB / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.09599, allocations: 187.4 kB / 495.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.09603, allocations: 81.02 kB / 495.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.09605, allocations: 0 / 495.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.09612, allocations: 8.062 kB / 495.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.09615, allocations: 7.922 kB / 495.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.09616, allocations: 4 kB / 495.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.09621, allocations: 87.27 kB / 495.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09622, allocations: 0 / 495.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.09642, allocations: 12 kB / 495.5 MB, free: 5.281 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 7.799e-05/0.09651, allocations: 107.1 kB / 495.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.09665, allocations: 39.92 kB / 495.7 MB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09666, allocations: 3.938 kB / 495.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.09671, allocations: 19.98 kB / 495.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.09698, allocations: 11.61 kB / 495.7 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.09733, allocations: 185 kB / 495.9 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.09754, allocations: 0.6848 MB / 496.6 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.09757, allocations: 3.984 kB / 496.6 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.0976, allocations: 11.44 kB / 496.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09761, allocations: 0 / 496.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of Templates: time 0.001975/0.09959, allocations: 456.3 kB / 497 MB, free: 3.719 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/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