Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 108.6 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3265/0.3265, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002609, allocations: 8.219 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3065, allocations: 63.24 MB / 0.5192 GB, free: 43.63 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.4106, allocations: 92.31 MB / 0.6093 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4109, allocations: 63.97 kB / 0.6094 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03346/0.4444, allocations: 11.75 MB / 0.6209 GB, free: 1.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4444, allocations: 3.938 kB / 0.6209 GB, free: 1.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.4445, allocations: 12 kB / 0.6209 GB, free: 1.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002001/0.4465, allocations: 0.9003 MB / 0.6217 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4465, allocations: 16.03 kB / 0.6218 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.4473, allocations: 155.1 kB / 0.6219 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.4479, allocations: 364.8 kB / 0.6223 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.4479, allocations: 45.31 kB / 0.6223 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.448, allocations: 63.81 kB / 0.6224 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.4493, allocations: 0.6421 MB / 0.623 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.4493, allocations: 15.91 kB / 0.623 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.4494, allocations: 20 kB / 0.623 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4494, allocations: 19.94 kB / 0.623 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.4506, allocations: 0.5606 MB / 0.6236 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.4541, allocations: 2.2 MB / 0.6257 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4554, allocations: 0.7148 MB / 0.6264 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.4556, allocations: 93.86 kB / 0.6265 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.4556, allocations: 58.91 kB / 0.6266 GB, free: 11.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.4556, allocations: 0 / 0.6266 GB, free: 11.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.00838/0.464, allocations: 4.618 MB / 0.6311 GB, free: 6.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4642, allocations: 218.2 kB / 0.6313 GB, free: 6.074 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4645, allocations: 317.2 kB / 0.6316 GB, free: 5.758 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.4646, allocations: 49.69 kB / 0.6317 GB, free: 5.703 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.4648, allocations: 268.9 kB / 0.6319 GB, free: 5.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.4651, allocations: 410 kB / 0.6323 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.4652, allocations: 20 kB / 0.6323 GB, free: 5.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4654, allocations: 386.7 kB / 0.6327 GB, free: 4.621 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.466, allocations: 330.4 kB / 0.633 GB, free: 4.297 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.4668, allocations: 0.5129 MB / 0.6335 GB, free: 3.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.4675, allocations: 404.1 kB / 0.6339 GB, free: 3.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4676, allocations: 0 / 0.6339 GB, free: 3.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00183/0.4694, allocations: 1.038 MB / 0.6349 GB, free: 2.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4694, allocations: 8 kB / 0.6349 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4694, allocations: 4 kB / 0.6349 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.4695, allocations: 12 kB / 0.6349 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4705, allocations: 295.8 kB / 0.6352 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/0.4705, allocations: 15.94 kB / 0.6352 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.471, allocations: 51.97 kB / 0.6353 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.4711, allocations: 47.98 kB / 0.6353 GB, free: 1.852 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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 0.0003078/0.4714, allocations: 233.5 kB / 0.6355 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4717, allocations: 67.25 kB / 0.6356 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.4721, allocations: 222.7 kB / 0.6358 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4721, allocations: 15.94 kB / 0.6358 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4721, allocations: 4 kB / 0.6358 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4722, allocations: 7.969 kB / 0.6358 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.4759, allocations: 2.386 MB / 0.6382 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4759, allocations: 3.953 kB / 0.6382 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.477, allocations: 259.9 kB / 0.6384 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/0.477, allocations: 12.28 kB / 0.6384 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.4771, allocations: 28 kB / 0.6385 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.4771, allocations: 11.98 kB / 0.6385 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4771, allocations: 11.88 kB / 0.6385 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4798, allocations: 2.121 MB / 0.6406 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.4801, allocations: 196.2 kB / 0.6407 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.4802, allocations: 24 kB / 0.6408 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.4809, allocations: 51.97 kB / 0.6408 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.481, allocations: 96.33 kB / 0.6409 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.4811, allocations: 32 kB / 0.6409 GB, free: 11.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002346/0.4813, allocations: 247.1 kB / 0.6412 GB, free: 11.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4814, allocations: 0 / 0.6412 GB, free: 11.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008146/0.4822, allocations: 204.1 kB / 0.6414 GB, free: 11.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0001961/0.4824, allocations: 139.5 kB / 0.6415 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.484, allocations: 0.8783 MB / 0.6424 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.484, allocations: 4 kB / 0.6424 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.4849, allocations: 0.5009 MB / 0.6429 GB, free: 9.848 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.4857, allocations: 112.3 kB / 0.643 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.4894, allocations: 2.653 MB / 0.6455 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.49, allocations: 0.9607 MB / 0.6465 GB, free: 6.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004244/0.4904, allocations: 93.64 kB / 0.6466 GB, free: 5.926 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4906, allocations: 63.42 kB / 0.6466 GB, free: 5.863 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4906, allocations: 4 kB / 0.6466 GB, free: 5.859 MB / 458.7 MB Notification: Performance of Templates: time 0.01207/0.5027, allocations: 6.337 MB / 0.6528 GB, free: 15.58 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches