Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008777, allocations: 88.09 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.245e-05, allocations: 4 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.53, allocations: 86.08 MB / 0.5858 GB, free: 3.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5303, allocations: 63.91 kB / 0.5858 GB, free: 3.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002561/0.5328, allocations: 1.044 MB / 0.5868 GB, free: 2.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5328, allocations: 0 / 0.5868 GB, free: 2.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.5329, allocations: 0 / 0.5868 GB, free: 2.148 MB / 394.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.0003047/0.5332, allocations: 338.4 kB / 0.5872 GB, free: 1.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5332, allocations: 12.03 kB / 0.5872 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.5333, allocations: 7.906 kB / 0.5872 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5334, allocations: 179 kB / 0.5873 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5335, allocations: 4 kB / 0.5874 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5335, allocations: 0 / 0.5874 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5336, allocations: 72.2 kB / 0.5874 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5336, allocations: 3.984 kB / 0.5874 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5337, allocations: 3.984 kB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5337, allocations: 8 kB / 0.5874 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.5337, allocations: 15.94 kB / 0.5875 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.5342, allocations: 449 kB / 0.5879 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.5343, allocations: 38.58 kB / 0.5879 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.5344, allocations: 8.859 kB / 0.5879 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.5344, allocations: 0 / 0.5879 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5344, allocations: 34.56 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.5344, allocations: 0 / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003403/0.5348, allocations: 84.45 kB / 0.588 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.5348, allocations: 51.41 kB / 0.5881 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.5349, allocations: 117 kB / 0.5882 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5349, allocations: 29.7 kB / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.535, allocations: 92.05 kB / 0.5883 GB, free: 428 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.535, allocations: 11.83 kB / 0.5883 GB, free: 416 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.535, allocations: 0 / 0.5883 GB, free: 416 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5352, allocations: 322.8 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.5352, allocations: 8 kB / 0.5886 GB, free: 76 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.5352, allocations: 39.38 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.5353, allocations: 15.98 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.5353, allocations: 0 / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.5354, allocations: 73.61 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5354, allocations: 4 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5354, allocations: 4 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.5354, allocations: 4.094 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.5355, allocations: 19.92 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5355, allocations: 0 / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.5356, allocations: 10.62 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5356, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.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 () * 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 6.148e-05/0.5357, allocations: 104.9 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.5357, allocations: 7.906 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.5357, allocations: 12.02 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5357, allocations: 4 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5357, allocations: 0 / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5358, allocations: 224 / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.5359, allocations: 177.5 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5359, allocations: 3.938 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.536, allocations: 8 kB / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.536, allocations: 0 / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.536, allocations: 240 / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.536, allocations: 7.984 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.536, allocations: 0 / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.5362, allocations: 167.5 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.5363, allocations: 84.97 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.5363, allocations: 4.375 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.5363, allocations: 4.031 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.5364, allocations: 3.984 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5364, allocations: 4.875 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.5364, allocations: 91.22 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5365, allocations: 4.062 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.5367, allocations: 4 kB / 0.5895 GB, free: 15.11 MB / 410.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 () * 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.0001008/0.5368, allocations: 95.25 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.5369, allocations: 35.92 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5369, allocations: 0 / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.5369, allocations: 15.94 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.5371, allocations: 4 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.5374, allocations: 107.7 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5377, allocations: 0.6868 MB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.5377, allocations: 4.188 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.5377, allocations: 11.44 kB / 0.5904 GB, free: 14.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5377, allocations: 3.938 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of Templates: time 0.002111/0.5399, allocations: 454.1 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches