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.001519/0.001519, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001074/0.001074, allocations: 92.38 kB / 270.9 MB, free: 8.387 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.5399/0.5399, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004619, allocations: 12 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5808, allocations: 89.78 MB / 0.5664 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5811, allocations: 63.97 kB / 0.5665 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05594/0.6371, allocations: 11.48 MB / 0.5777 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6371, allocations: 0 / 0.5777 GB, free: 1.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.943e-05/0.6372, allocations: 16 kB / 0.5777 GB, free: 1.266 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.002795/0.64, allocations: 0.8886 MB / 0.5785 GB, free: 336 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6401, allocations: 12.03 kB / 0.5786 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.6403, allocations: 75.16 kB / 0.5786 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.6411, allocations: 369.7 kB / 0.579 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.6412, allocations: 45.44 kB / 0.579 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.6414, allocations: 67.89 kB / 0.5791 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.6434, allocations: 0.6304 MB / 0.5797 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.6435, allocations: 15.84 kB / 0.5797 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.6436, allocations: 24 kB / 0.5797 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.6437, allocations: 12 kB / 0.5798 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.646, allocations: 0.5568 MB / 0.5803 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005595/0.6516, allocations: 2.21 MB / 0.5825 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.654, allocations: 0.7163 MB / 0.5832 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.6544, allocations: 97.84 kB / 0.5833 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.6545, allocations: 50.92 kB / 0.5833 GB, free: 11.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 5.671e-06/0.6545, allocations: 7.938 kB / 0.5833 GB, free: 11.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01826/0.6728, allocations: 4.608 MB / 0.5878 GB, free: 6.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.6729, allocations: 226.1 kB / 0.588 GB, free: 5.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.6736, allocations: 313.1 kB / 0.5883 GB, free: 5.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.6738, allocations: 49.77 kB / 0.5884 GB, free: 5.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.674, allocations: 311.4 kB / 0.5887 GB, free: 5.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.6745, allocations: 406 kB / 0.5891 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.6746, allocations: 28 kB / 0.5891 GB, free: 4.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6748, allocations: 346.8 kB / 0.5894 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.6761, allocations: 338.4 kB / 0.5897 GB, free: 4.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.6777, allocations: 0.5129 MB / 0.5902 GB, free: 3.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.6791, allocations: 405.5 kB / 0.5906 GB, free: 3.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6792, allocations: 0 / 0.5906 GB, free: 3.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003328/0.6825, allocations: 1.004 MB / 0.5916 GB, free: 2.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.6826, allocations: 8 kB / 0.5916 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.6826, allocations: 7.938 kB / 0.5916 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.6827, allocations: 12 kB / 0.5916 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.6847, allocations: 291.6 kB / 0.5919 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/0.6848, allocations: 15.98 kB / 0.5919 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.6858, allocations: 59.97 kB / 0.592 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.6859, allocations: 40 kB / 0.592 GB, free: 1.766 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 () * 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.0005401/0.6865, allocations: 229.6 kB / 0.5922 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.6868, allocations: 75.16 kB / 0.5923 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.6876, allocations: 224.2 kB / 0.5925 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6876, allocations: 12 kB / 0.5925 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.6876, allocations: 4 kB / 0.5925 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.6876, allocations: 7.938 kB / 0.5925 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006357/0.694, allocations: 2.39 MB / 0.5949 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.6941, allocations: 4 kB / 0.5949 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/0.6962, allocations: 259.7 kB / 0.5951 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/0.6963, allocations: 8.281 kB / 0.5951 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.6964, allocations: 32.19 kB / 0.5952 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/0.6965, allocations: 15.92 kB / 0.5952 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.6965, allocations: 11.88 kB / 0.5952 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/0.7013, allocations: 2.125 MB / 0.5973 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.7019, allocations: 196.2 kB / 0.5975 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7021, allocations: 28 kB / 0.5975 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7031, allocations: 51.92 kB / 0.5975 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.7034, allocations: 84.39 kB / 0.5976 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.7035, allocations: 39.98 kB / 0.5977 GB, free: 11.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004382/0.704, allocations: 247.1 kB / 0.5979 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.704, allocations: 4 kB / 0.5979 GB, free: 11.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001328/0.7053, allocations: 200.1 kB / 0.5981 GB, free: 11.28 MB / 426.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.0003216/0.7057, allocations: 139.5 kB / 0.5982 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.7086, allocations: 0.8773 MB / 0.5991 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7087, allocations: 0 / 0.5991 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.7104, allocations: 0.5059 MB / 0.5996 GB, free: 9.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.7119, allocations: 108.3 kB / 0.5997 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.7183, allocations: 2.685 MB / 0.6023 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/0.7192, allocations: 0.9646 MB / 0.6032 GB, free: 5.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.7197, allocations: 67.42 kB / 0.6033 GB, free: 5.824 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7197, allocations: 0 / 0.6033 GB, free: 5.824 MB / 426.7 MB Notification: Performance of Templates: time 0.02149/0.7412, allocations: 8.571 MB / 0.6117 GB, free: 13.26 MB / 442.7 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