Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001205, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.411/1.411, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008633/0.0008637, allocations: 90.55 kB / 267.1 MB, free: 9.262 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.391/0.391, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.575e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 58.84 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5333, allocations: 89.7 MB / 0.5604 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.5336, allocations: 65.25 kB / 0.5604 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.5627, allocations: 11.47 MB / 0.5717 GB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5628, allocations: 0 / 0.5717 GB, free: 6.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.5628, allocations: 16 kB / 0.5717 GB, free: 6.422 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001253/0.5641, allocations: 0.8327 MB / 0.5725 GB, free: 5.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.5641, allocations: 8.031 kB / 0.5725 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.5642, allocations: 79.06 kB / 0.5726 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.5647, allocations: 362.4 kB / 0.5729 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.5647, allocations: 44.31 kB / 0.573 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/0.5648, allocations: 63.09 kB / 0.573 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.5656, allocations: 0.574 MB / 0.5736 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.5657, allocations: 11.89 kB / 0.5736 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.5657, allocations: 22.25 kB / 0.5736 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.5658, allocations: 16 kB / 0.5736 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.5664, allocations: 461.4 kB / 0.5741 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.569, allocations: 2.207 MB / 0.5762 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.5699, allocations: 0.6453 MB / 0.5768 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.5702, allocations: 297 kB / 0.5771 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5704, allocations: 93.48 kB / 0.5772 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5704, allocations: 57.69 kB / 0.5773 GB, free: 1.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.5704, allocations: 0 / 0.5773 GB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.005993/0.5764, allocations: 4.101 MB / 0.5813 GB, free: 13.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5766, allocations: 222.2 kB / 0.5815 GB, free: 13.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.5769, allocations: 313.6 kB / 0.5818 GB, free: 13.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.577, allocations: 47.7 kB / 0.5818 GB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.5771, allocations: 263.3 kB / 0.5821 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.5774, allocations: 416.2 kB / 0.5825 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.5775, allocations: 22.44 kB / 0.5825 GB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5776, allocations: 379.7 kB / 0.5829 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.5781, allocations: 271.2 kB / 0.5831 GB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.5786, allocations: 460.7 kB / 0.5836 GB, free: 11.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.5791, allocations: 340.7 kB / 0.5839 GB, free: 11.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5791, allocations: 4 kB / 0.5839 GB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00127/0.5804, allocations: 0.9133 MB / 0.5848 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5805, allocations: 8 kB / 0.5848 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5805, allocations: 4 kB / 0.5848 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.5805, allocations: 15.98 kB / 0.5848 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/0.5815, allocations: 293.3 kB / 0.5851 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.5815, allocations: 15.98 kB / 0.5851 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.5819, allocations: 56.28 kB / 0.5852 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.582, allocations: 39.14 kB / 0.5852 GB, free: 10.19 MB / 410.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 () * 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.0001767/0.5822, allocations: 176.5 kB / 0.5854 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5824, allocations: 74.09 kB / 0.5854 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.5828, allocations: 210.2 kB / 0.5856 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.5828, allocations: 16 kB / 0.5857 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.5829, allocations: 0 / 0.5857 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.5829, allocations: 7.984 kB / 0.5857 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.5859, allocations: 2.27 MB / 0.5879 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5859, allocations: 4 kB / 0.5879 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5869, allocations: 261.9 kB / 0.5881 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.5869, allocations: 8 kB / 0.5881 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.587, allocations: 30.36 kB / 0.5882 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.587, allocations: 12.02 kB / 0.5882 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/0.587, allocations: 7.984 kB / 0.5882 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.589, allocations: 1.951 MB / 0.5901 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5892, allocations: 196.4 kB / 0.5903 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.5893, allocations: 32.17 kB / 0.5903 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.5899, allocations: 50.72 kB / 0.5904 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.5901, allocations: 82.41 kB / 0.5904 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.5901, allocations: 40.17 kB / 0.5905 GB, free: 5.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.5904, allocations: 244.3 kB / 0.5907 GB, free: 5.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5904, allocations: 0 / 0.5907 GB, free: 5.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007321/0.5911, allocations: 207.8 kB / 0.5909 GB, free: 5.195 MB / 410.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 () * 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.0002037/0.5913, allocations: 141.2 kB / 0.591 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.5924, allocations: 0.7487 MB / 0.5918 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5924, allocations: 0 / 0.5918 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.593, allocations: 451.3 kB / 0.5922 GB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.5938, allocations: 105.7 kB / 0.5923 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.5966, allocations: 1.993 MB / 0.5942 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5972, allocations: 0.9603 MB / 0.5952 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.5976, allocations: 93.64 kB / 0.5953 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.5977, allocations: 62.61 kB / 0.5953 GB, free: 1.066 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5978, allocations: 4 kB / 0.5953 GB, free: 1.062 MB / 410.7 MB Notification: Performance of Templates: time 0.01135/0.6091, allocations: 6.351 MB / 0.6015 GB, free: 10.77 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches