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.0008909/0.0008909, allocations: 181.5 kB / 17.41 MB, free: 4.387 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.381/1.381, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007453/0.0007452, allocations: 93.08 kB / 271.9 MB, free: 8.254 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.2946/0.2946, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 20 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09777, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3808, allocations: 89.84 MB / 0.5676 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.381, allocations: 63.97 kB / 0.5677 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03274/0.4138, allocations: 11.48 MB / 0.5789 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4138, allocations: 0 / 0.5789 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.4138, allocations: 16 kB / 0.5789 GB, free: 0.9102 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.001484/0.4153, allocations: 0.8871 MB / 0.5798 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4154, allocations: 8.031 kB / 0.5798 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4155, allocations: 76.09 kB / 0.5799 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.416, allocations: 389.7 kB / 0.5802 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.416, allocations: 45.69 kB / 0.5803 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4161, allocations: 64.28 kB / 0.5804 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4173, allocations: 0.6349 MB / 0.581 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.4173, allocations: 16.09 kB / 0.581 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.4174, allocations: 31.92 kB / 0.581 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4174, allocations: 12 kB / 0.581 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4185, allocations: 0.572 MB / 0.5816 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.4217, allocations: 2.194 MB / 0.5837 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.423, allocations: 0.7185 MB / 0.5844 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.4236, allocations: 359.7 kB / 0.5848 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.4238, allocations: 101.8 kB / 0.5849 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4238, allocations: 54.94 kB / 0.5849 GB, free: 10.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.4238, allocations: 0 / 0.5849 GB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.008163/0.432, allocations: 4.603 MB / 0.5894 GB, free: 5.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4321, allocations: 235.5 kB / 0.5896 GB, free: 5.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.4325, allocations: 361.9 kB / 0.59 GB, free: 4.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.4326, allocations: 49.7 kB / 0.59 GB, free: 4.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4328, allocations: 264.9 kB / 0.5903 GB, free: 4.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.4331, allocations: 410 kB / 0.5907 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.4331, allocations: 20 kB / 0.5907 GB, free: 4.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4333, allocations: 382.8 kB / 0.5911 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.434, allocations: 330.4 kB / 0.5914 GB, free: 3.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.4348, allocations: 0.5236 MB / 0.5919 GB, free: 2.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.4363, allocations: 0.906 MB / 0.5928 GB, free: 1.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4363, allocations: 0 / 0.5928 GB, free: 1.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00188/0.4382, allocations: 1.03 MB / 0.5938 GB, free: 0.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4382, allocations: 8 kB / 0.5938 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4382, allocations: 9.422 kB / 0.5938 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.4383, allocations: 12 kB / 0.5938 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.4393, allocations: 291.6 kB / 0.5941 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.4393, allocations: 16.03 kB / 0.5941 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.4398, allocations: 59.97 kB / 0.5942 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.4398, allocations: 43.98 kB / 0.5942 GB, free: 372 kB / 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.0003362/0.4402, allocations: 225.6 kB / 0.5944 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4404, allocations: 75.16 kB / 0.5945 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.4409, allocations: 222.8 kB / 0.5947 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4409, allocations: 12 kB / 0.5947 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.4409, allocations: 4 kB / 0.5947 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4409, allocations: 11.91 kB / 0.5947 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.4446, allocations: 2.388 MB / 0.5971 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.4446, allocations: 4 kB / 0.5971 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.4457, allocations: 259.7 kB / 0.5973 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.4457, allocations: 8.25 kB / 0.5973 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.4458, allocations: 36.27 kB / 0.5974 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.4458, allocations: 11.94 kB / 0.5974 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.4458, allocations: 7.938 kB / 0.5974 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.4484, allocations: 1.947 MB / 0.5993 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.4487, allocations: 204.2 kB / 0.5995 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.4488, allocations: 20 kB / 0.5995 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.4494, allocations: 67.97 kB / 0.5996 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.4496, allocations: 80.39 kB / 0.5996 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.4496, allocations: 39.98 kB / 0.5997 GB, free: 10.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002856/0.4499, allocations: 251.1 kB / 0.5999 GB, free: 10.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4499, allocations: 0 / 0.5999 GB, free: 10.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008428/0.4508, allocations: 208.1 kB / 0.6001 GB, free: 10.12 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.0002057/0.451, allocations: 127.6 kB / 0.6002 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.4527, allocations: 0.8783 MB / 0.6011 GB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4527, allocations: 4 kB / 0.6011 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008681/0.4536, allocations: 0.5032 MB / 0.6016 GB, free: 8.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.4549, allocations: 122.3 kB / 0.6017 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.4584, allocations: 2.689 MB / 0.6043 GB, free: 5.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.459, allocations: 0.948 MB / 0.6052 GB, free: 4.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.4593, allocations: 75.41 kB / 0.6053 GB, free: 4.664 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4593, allocations: 0 / 0.6053 GB, free: 4.664 MB / 426.7 MB Notification: Performance of Templates: time 0.01199/0.4713, allocations: 8.742 MB / 0.6139 GB, free: 11.93 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