Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 76.17 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4504, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00288/0.4533, allocations: 1.564 MB / 0.5325 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.4536, allocations: 77.47 kB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.4537, allocations: 4 kB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.4539, allocations: 5.312 kB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.4539, allocations: 3.938 kB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.4541, allocations: 21.47 kB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.4542, allocations: 41.34 kB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4543, allocations: 10.36 kB / 0.5327 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.4544, allocations: 12.06 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.4545, allocations: 14.98 kB / 0.5327 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.4545, allocations: 10.53 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.4545, allocations: 2.875 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.4545, allocations: 5.125 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.4546, allocations: 15.34 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.4547, allocations: 41.56 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4547, allocations: 0 / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4547, allocations: 0 / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.4547, allocations: 1.281 kB / 0.5328 GB, free: 12.19 MB / 398.1 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.000509/0.4552, allocations: 347.3 kB / 0.5331 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4553, allocations: 13.75 kB / 0.5331 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.4553, allocations: 10.47 kB / 0.5331 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4556, allocations: 181.5 kB / 0.5333 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4556, allocations: 1.719 kB / 0.5333 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.4557, allocations: 6.562 kB / 0.5333 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4558, allocations: 70.97 kB / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4559, allocations: 192 / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4559, allocations: 11.94 kB / 0.5334 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4559, allocations: 1.312 kB / 0.5334 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.456, allocations: 26.27 kB / 0.5334 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.4566, allocations: 441.1 kB / 0.5338 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4568, allocations: 46.22 kB / 0.5339 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.4569, allocations: 19.28 kB / 0.5339 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4569, allocations: 1.344 kB / 0.5339 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4569, allocations: 31.62 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4569, allocations: 0 / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004987/0.4574, allocations: 114.9 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.4575, allocations: 56.81 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.4576, allocations: 114.4 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4576, allocations: 25.7 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4577, allocations: 94.62 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4578, allocations: 18.44 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.4578, allocations: 18.88 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4579, allocations: 328 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.458, allocations: 12.14 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.4581, allocations: 38.44 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4582, allocations: 63.94 kB / 0.5348 GB, free: 10.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4582, allocations: 0 / 0.5348 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.4584, allocations: 94.11 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4584, allocations: 5.062 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4584, allocations: 2.094 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4584, allocations: 0 / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.4585, allocations: 11.31 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4585, allocations: 3.984 kB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.4585, allocations: 8.188 kB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4586, allocations: 1.969 kB / 0.5349 GB, free: 10.03 MB / 398.1 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 8.527e-05/0.4586, allocations: 121.8 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.4587, allocations: 1.969 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.4587, allocations: 9.781 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4587, allocations: 3.984 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4587, allocations: 0 / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4587, allocations: 0 / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.4589, allocations: 179.1 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4589, allocations: 7.984 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.459, allocations: 9.188 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.459, allocations: 0 / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.459, allocations: 1.094 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.459, allocations: 1.156 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.459, allocations: 0 / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4593, allocations: 182 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.4593, allocations: 83.33 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4594, allocations: 0 / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.4594, allocations: 2.094 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.4594, allocations: 6.266 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4594, allocations: 1.688 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.4595, allocations: 97.98 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4595, allocations: 0 / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.4597, allocations: 6.344 kB / 0.5356 GB, free: 9.309 MB / 398.1 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.484e-05/0.4598, allocations: 102.8 kB / 0.5357 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.46, allocations: 36.02 kB / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.46, allocations: 0 / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.4601, allocations: 18.98 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4603, allocations: 14.45 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.4607, allocations: 153.5 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.461, allocations: 0.6863 MB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.461, allocations: 6.734 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.4611, allocations: 10.19 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4611, allocations: 0 / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of Templates: time 0.002649/0.4637, allocations: 455.7 kB / 0.537 GB, free: 8.098 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches