Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.002239, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 94.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.946e-05, allocations: 4 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5618, allocations: 89.03 MB / 0.5528 GB, free: 10.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5621, allocations: 71.45 kB / 0.5529 GB, free: 10.21 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05532/0.6174, allocations: 11.36 MB / 0.564 GB, free: 14.8 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6175, allocations: 0 / 0.564 GB, free: 14.8 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.6175, allocations: 12 kB / 0.564 GB, free: 14.79 MB / 411.1 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.002516/0.6201, allocations: 0.8378 MB / 0.5648 GB, free: 13.9 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.6201, allocations: 12.03 kB / 0.5648 GB, free: 13.89 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.6204, allocations: 79.16 kB / 0.5649 GB, free: 13.81 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.6212, allocations: 359.3 kB / 0.5652 GB, free: 13.42 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.6212, allocations: 20 kB / 0.5653 GB, free: 13.4 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.6214, allocations: 43.91 kB / 0.5653 GB, free: 13.36 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/0.6227, allocations: 410.4 kB / 0.5657 GB, free: 12.95 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.624, allocations: 497.6 kB / 0.5662 GB, free: 12.45 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.6241, allocations: 11.91 kB / 0.5662 GB, free: 12.43 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.6242, allocations: 0 / 0.5662 GB, free: 12.43 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.6242, allocations: 12 kB / 0.5662 GB, free: 12.42 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.6295, allocations: 1.953 MB / 0.5681 GB, free: 10.37 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.631, allocations: 0.5583 MB / 0.5687 GB, free: 9.766 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006863/0.6317, allocations: 257.9 kB / 0.5689 GB, free: 9.496 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.6319, allocations: 105.5 kB / 0.569 GB, free: 9.375 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.632, allocations: 42.94 kB / 0.569 GB, free: 9.324 MB / 411.1 MB Notification: Performance of pre-optimization done (n=82): time 3.947e-06/0.632, allocations: 0 / 0.569 GB, free: 9.324 MB / 411.1 MB Notification: Performance of matching and sorting (n=115): time 0.008944/0.6409, allocations: 3.57 MB / 0.5725 GB, free: 5.402 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.6411, allocations: 166.8 kB / 0.5727 GB, free: 5.203 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.6416, allocations: 301.1 kB / 0.573 GB, free: 4.906 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.6417, allocations: 25.7 kB / 0.573 GB, free: 4.875 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.642, allocations: 307.5 kB / 0.5733 GB, free: 4.57 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.6424, allocations: 390.1 kB / 0.5737 GB, free: 4.184 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.6425, allocations: 4 kB / 0.5737 GB, free: 4.18 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6427, allocations: 350.8 kB / 0.574 GB, free: 3.828 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.6434, allocations: 250.6 kB / 0.5742 GB, free: 3.582 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008741/0.6443, allocations: 434.6 kB / 0.5747 GB, free: 3.098 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.6452, allocations: 312.5 kB / 0.575 GB, free: 2.789 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6453, allocations: 0 / 0.575 GB, free: 2.789 MB / 411.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002138/0.6474, allocations: 0.7805 MB / 0.5757 GB, free: 2 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6475, allocations: 8 kB / 0.5757 GB, free: 1.992 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.6475, allocations: 4 kB / 0.5757 GB, free: 1.988 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.6475, allocations: 12 kB / 0.5757 GB, free: 1.977 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.6496, allocations: 292 kB / 0.576 GB, free: 1.691 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.6497, allocations: 19.92 kB / 0.576 GB, free: 1.672 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/0.6505, allocations: 35.97 kB / 0.5761 GB, free: 1.637 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6507, allocations: 40 kB / 0.5761 GB, free: 1.598 MB / 411.1 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.0002409/0.6509, allocations: 132.6 kB / 0.5762 GB, free: 1.461 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.6512, allocations: 71.16 kB / 0.5763 GB, free: 1.391 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.652, allocations: 223.1 kB / 0.5765 GB, free: 1.16 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.652, allocations: 12 kB / 0.5765 GB, free: 1.148 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.652, allocations: 0 / 0.5765 GB, free: 1.148 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.6521, allocations: 15.92 kB / 0.5765 GB, free: 1.133 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.6574, allocations: 2.164 MB / 0.5787 GB, free: 14.89 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.6575, allocations: 4 kB / 0.5787 GB, free: 14.88 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.6597, allocations: 259.7 kB / 0.5789 GB, free: 14.63 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/0.6598, allocations: 8 kB / 0.5789 GB, free: 14.62 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6599, allocations: 12.12 kB / 0.5789 GB, free: 14.61 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.66, allocations: 15.94 kB / 0.5789 GB, free: 14.59 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.66, allocations: 7.938 kB / 0.5789 GB, free: 14.59 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.6633, allocations: 1.702 MB / 0.5806 GB, free: 12.76 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.6638, allocations: 196.2 kB / 0.5808 GB, free: 12.55 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.664, allocations: 7.984 kB / 0.5808 GB, free: 12.54 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.6649, allocations: 27.98 kB / 0.5808 GB, free: 12.51 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.6652, allocations: 92.38 kB / 0.5809 GB, free: 12.42 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.6653, allocations: 32 kB / 0.581 GB, free: 12.39 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003675/0.6657, allocations: 234.9 kB / 0.5812 GB, free: 12.16 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6657, allocations: 0 / 0.5812 GB, free: 12.16 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001175/0.6669, allocations: 152 kB / 0.5813 GB, free: 12.01 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.0002659/0.6672, allocations: 119.1 kB / 0.5814 GB, free: 11.88 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.6691, allocations: 0.6987 MB / 0.5821 GB, free: 11.19 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6692, allocations: 0 / 0.5821 GB, free: 11.19 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6703, allocations: 418 kB / 0.5825 GB, free: 10.78 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.6717, allocations: 92.2 kB / 0.5826 GB, free: 10.69 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.677, allocations: 1.958 MB / 0.5845 GB, free: 8.652 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.6779, allocations: 0.9525 MB / 0.5854 GB, free: 7.676 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.6784, allocations: 71.42 kB / 0.5855 GB, free: 7.605 MB / 427.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6784, allocations: 0 / 0.5855 GB, free: 7.605 MB / 427.1 MB Notification: Performance of Templates: time 0.02203/0.7004, allocations: 8.509 MB / 0.5938 GB, free: 15.1 MB / 443.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches