Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.255/2.255, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3652/0.3652, allocations: 44.17 MB / 336.8 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.00266, allocations: 60.14 kB / 408.3 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1791, allocations: 60.83 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.009339/0.1885, allocations: 4.14 MB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1923, allocations: 1.047 MB / 474.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.1933, allocations: 15.94 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.194, allocations: 71.39 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1953, allocations: 178.6 kB / 474.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1964, allocations: 167.8 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1981, allocations: 0.7433 MB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.1988, allocations: 206.7 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.1997, allocations: 270.9 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007986/0.2005, allocations: 334.5 kB / 476.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.2008, allocations: 36 kB / 476.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.2012, allocations: 67.92 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.2015, allocations: 123.5 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.2023, allocations: 334.2 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.2034, allocations: 0.5497 MB / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2034, allocations: 4 kB / 477.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2034, allocations: 0 / 477.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.2035, allocations: 0 / 477.4 MB, free: 6.582 MB / 350.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.004075/0.2076, allocations: 1.001 MB / 478.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.2077, allocations: 12.03 kB / 478.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.208, allocations: 76.08 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2091, allocations: 397.8 kB / 478.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.2092, allocations: 49.69 kB / 478.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.2095, allocations: 60.28 kB / 479 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.2118, allocations: 0.6268 MB / 479.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-05/0.2119, allocations: 15.89 kB / 479.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.212, allocations: 20 kB / 479.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2121, allocations: 16 kB / 479.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.2142, allocations: 0.5325 MB / 480.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.2199, allocations: 2.165 MB / 482.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.222, allocations: 0.6919 MB / 483.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.2231, allocations: 347.2 kB / 483.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.2234, allocations: 105.7 kB / 483.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.2234, allocations: 47 kB / 483.6 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 4.9e-06/0.2235, allocations: 0 / 483.6 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.01501/0.2385, allocations: 4.488 MB / 488 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/0.2388, allocations: 238.1 kB / 488.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.2395, allocations: 354 kB / 488.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.2397, allocations: 46.08 kB / 488.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.24, allocations: 272.9 kB / 488.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006073/0.2407, allocations: 410 kB / 489.3 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.2412, allocations: 178.9 kB / 489.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.2415, allocations: 386.7 kB / 489.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.2429, allocations: 314.4 kB / 490.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2446, allocations: 0.5082 MB / 490.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/0.2479, allocations: 0.8741 MB / 491.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.2479, allocations: 4 kB / 491.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004181/0.2521, allocations: 0.9958 MB / 492.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.2522, allocations: 11.91 kB / 492.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.2523, allocations: 12 kB / 492.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-05/0.2523, allocations: 8 kB / 492.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.2546, allocations: 287.6 kB / 492.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-05/0.2547, allocations: 12 kB / 492.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.2558, allocations: 43.97 kB / 492.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.256, allocations: 44 kB / 493 MB, free: 6.078 MB / 366.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007181/0.2567, allocations: 241.5 kB / 493.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/0.2573, allocations: 75.09 kB / 493.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/0.2582, allocations: 214.8 kB / 493.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.2583, allocations: 12 kB / 493.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.2583, allocations: 4 kB / 493.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.2584, allocations: 7.969 kB / 493.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/0.2667, allocations: 2.359 MB / 495.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.2668, allocations: 4 kB / 495.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/0.2692, allocations: 247.7 kB / 496.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.108e-05/0.2692, allocations: 8 kB / 496.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.2694, allocations: 35.92 kB / 496.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.64e-05/0.2694, allocations: 11.94 kB / 496.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.2695, allocations: 4 kB / 496.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.2751, allocations: 1.893 MB / 498.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.2758, allocations: 204.2 kB / 498.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.2761, allocations: 27.94 kB / 498.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.2776, allocations: 43.97 kB / 498.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.278, allocations: 84.33 kB / 498.4 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.2781, allocations: 39.98 kB / 498.5 MB, free: 420 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.2787, allocations: 247.2 kB / 498.7 MB, free: 176 kB / 366.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2787, allocations: 0 / 498.7 MB, free: 176 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001958/0.2807, allocations: 204 kB / 498.9 MB, free: 15.97 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003545/0.2811, allocations: 127.1 kB / 499 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003569/0.2847, allocations: 0.8469 MB / 499.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.2847, allocations: 0 / 499.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.2867, allocations: 0.4883 MB / 0.4886 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.2895, allocations: 122.7 kB / 0.4888 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/0.2971, allocations: 2.534 MB / 0.4912 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2983, allocations: 0.9364 MB / 0.4922 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.2988, allocations: 75.41 kB / 0.4922 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.783e-06/0.2988, allocations: 0 / 0.4922 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02452/0.3234, allocations: 8.908 MB / 0.5009 GB, free: 1.84 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches