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.001558/0.001557, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.22/2.22, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001066/0.001065, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.278/0.278, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.635e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6204, allocations: 89.7 MB / 0.5604 GB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.6207, allocations: 68.88 kB / 0.5604 GB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05368/0.6744, allocations: 11.46 MB / 0.5716 GB, free: 4.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6744, allocations: 0 / 0.5716 GB, free: 4.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.783e-05/0.6745, allocations: 16 kB / 0.5716 GB, free: 4.352 MB / 378.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.002393/0.6769, allocations: 0.8329 MB / 0.5725 GB, free: 3.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.677, allocations: 12.03 kB / 0.5725 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.6772, allocations: 79.14 kB / 0.5725 GB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.6779, allocations: 358.4 kB / 0.5729 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.678, allocations: 46.75 kB / 0.5729 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.6782, allocations: 64.84 kB / 0.573 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6797, allocations: 0.5727 MB / 0.5735 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.6798, allocations: 11.89 kB / 0.5736 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.6798, allocations: 22.12 kB / 0.5736 GB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.6799, allocations: 16 kB / 0.5736 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6812, allocations: 455.9 kB / 0.574 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.6864, allocations: 2.202 MB / 0.5762 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6881, allocations: 0.6449 MB / 0.5768 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007214/0.6889, allocations: 305.3 kB / 0.5771 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.6891, allocations: 93.48 kB / 0.5772 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.6891, allocations: 50 kB / 0.5772 GB, free: 15.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 4.338e-06/0.6892, allocations: 4 kB / 0.5772 GB, free: 15.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.01136/0.7005, allocations: 4.113 MB / 0.5813 GB, free: 11.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.7007, allocations: 225.5 kB / 0.5815 GB, free: 11.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.7012, allocations: 310.2 kB / 0.5818 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.7014, allocations: 45.58 kB / 0.5818 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.7016, allocations: 309 kB / 0.5821 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.7021, allocations: 413.6 kB / 0.5825 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.7022, allocations: 20.56 kB / 0.5825 GB, free: 10.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7024, allocations: 367.1 kB / 0.5829 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.7032, allocations: 264.4 kB / 0.5831 GB, free: 9.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.7042, allocations: 468 kB / 0.5836 GB, free: 9.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.7051, allocations: 340.2 kB / 0.5839 GB, free: 9.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.7051, allocations: 0 / 0.5839 GB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0024/0.7076, allocations: 0.875 MB / 0.5848 GB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.7076, allocations: 8 kB / 0.5848 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.7077, allocations: 4.438 kB / 0.5848 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/0.7077, allocations: 16 kB / 0.5848 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.7099, allocations: 290.5 kB / 0.5851 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.859e-05/0.71, allocations: 16.95 kB / 0.5851 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.7109, allocations: 60.66 kB / 0.5851 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.7111, allocations: 43.23 kB / 0.5852 GB, free: 8.07 MB / 394.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.0002697/0.7114, allocations: 172.1 kB / 0.5853 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.7117, allocations: 71.16 kB / 0.5854 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.7124, allocations: 202.9 kB / 0.5856 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.7124, allocations: 16 kB / 0.5856 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.7124, allocations: 7.922 kB / 0.5856 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.7125, allocations: 7.984 kB / 0.5856 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.718, allocations: 2.291 MB / 0.5879 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.7181, allocations: 4.062 kB / 0.5879 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.7203, allocations: 271.6 kB / 0.5881 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/0.7204, allocations: 8 kB / 0.5881 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.7205, allocations: 25.44 kB / 0.5882 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/0.7205, allocations: 11.98 kB / 0.5882 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.7205, allocations: 4 kB / 0.5882 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.7239, allocations: 1.939 MB / 0.5901 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.7244, allocations: 193.7 kB / 0.5903 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.7246, allocations: 31.5 kB / 0.5903 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7256, allocations: 53.16 kB / 0.5903 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.7259, allocations: 86.45 kB / 0.5904 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.726, allocations: 39.19 kB / 0.5905 GB, free: 3.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000406/0.7264, allocations: 246.3 kB / 0.5907 GB, free: 3.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7264, allocations: 0 / 0.5907 GB, free: 3.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001304/0.7278, allocations: 203 kB / 0.5909 GB, free: 3.07 MB / 394.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.0002925/0.7281, allocations: 133.1 kB / 0.591 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.7301, allocations: 0.7558 MB / 0.5917 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7301, allocations: 0 / 0.5917 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7313, allocations: 445.6 kB / 0.5922 GB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.7327, allocations: 113.7 kB / 0.5923 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.7377, allocations: 2.019 MB / 0.5943 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.7384, allocations: 0.9632 MB / 0.5952 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.7389, allocations: 71.17 kB / 0.5953 GB, free: 14.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7389, allocations: 0 / 0.5953 GB, free: 14.99 MB / 410.7 MB Notification: Performance of Templates: time 0.02018/0.7591, allocations: 8.57 MB / 0.6036 GB, free: 6.52 MB / 410.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