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.001369/0.001369, allocations: 104.3 kB / 18.4 MB, free: 4.699 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.001554/0.001553, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 243 MB, free: 15.08 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.2328/0.2328, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.69 kB / 409.9 MB, free: 26.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1703, allocations: 60.82 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.008955/0.1793, allocations: 4.109 MB / 474.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.1825, allocations: 1.063 MB / 475.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.183, allocations: 15.94 kB / 475.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.1834, allocations: 98.95 kB / 476 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.1841, allocations: 206.1 kB / 476.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.1849, allocations: 195.5 kB / 476.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.1861, allocations: 0.7785 MB / 477.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.1867, allocations: 235.3 kB / 477.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.1872, allocations: 298.9 kB / 477.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.1879, allocations: 350.5 kB / 478 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.188, allocations: 60 kB / 478.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1883, allocations: 79.94 kB / 478.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.1885, allocations: 147.4 kB / 478.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.189, allocations: 354.2 kB / 478.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1902, allocations: 0.759 MB / 479.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1902, allocations: 7.938 kB / 479.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1902, allocations: 0 / 479.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1902, allocations: 0 / 479.4 MB, free: 4.934 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.002769/0.193, allocations: 0.9936 MB / 480.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1931, allocations: 12.03 kB / 480.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1933, allocations: 72.09 kB / 480.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.1941, allocations: 409.7 kB / 480.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.1941, allocations: 45.69 kB / 480.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1943, allocations: 60.28 kB / 481 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.196, allocations: 0.6307 MB / 481.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.1961, allocations: 15.89 kB / 481.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.1962, allocations: 20 kB / 481.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.1962, allocations: 23.88 kB / 481.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.1981, allocations: 0.527 MB / 482.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.2028, allocations: 2.149 MB / 484.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2047, allocations: 0.7032 MB / 485.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009557/0.2057, allocations: 347.1 kB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.2059, allocations: 93.53 kB / 485.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.206, allocations: 50.94 kB / 485.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 3.437e-06/0.206, allocations: 0 / 485.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.01314/0.2191, allocations: 4.489 MB / 490 MB, free: 9.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.2194, allocations: 226.2 kB / 490.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.22, allocations: 362 kB / 490.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.2201, allocations: 45.7 kB / 490.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.2203, allocations: 264.9 kB / 490.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.2209, allocations: 410 kB / 491.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.2213, allocations: 182.9 kB / 491.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.2215, allocations: 382.8 kB / 491.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2226, allocations: 314.4 kB / 492.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.2239, allocations: 0.512 MB / 492.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.2264, allocations: 0.8663 MB / 493.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2264, allocations: 0 / 493.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002966/0.2294, allocations: 1.007 MB / 494.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2294, allocations: 14.28 kB / 494.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.2294, allocations: 7.984 kB / 494.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.839e-05/0.2295, allocations: 12.44 kB / 494.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.2311, allocations: 279.9 kB / 494.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.571e-05/0.2312, allocations: 15.98 kB / 494.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.232, allocations: 51.97 kB / 494.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.2321, allocations: 39.94 kB / 495 MB, free: 4.457 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.0005284/0.2326, allocations: 233.5 kB / 495.2 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.233, allocations: 79.09 kB / 495.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.2337, allocations: 226.8 kB / 495.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.2338, allocations: 12 kB / 495.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.2338, allocations: 0 / 495.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.2338, allocations: 11.97 kB / 495.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.2397, allocations: 2.32 MB / 497.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.2397, allocations: 4 kB / 497.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.2414, allocations: 251.9 kB / 498.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.2414, allocations: 8 kB / 498.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.2415, allocations: 35.92 kB / 498.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.2416, allocations: 11.94 kB / 498.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.2416, allocations: 4 kB / 498.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.2457, allocations: 1.901 MB / 0.4883 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.2463, allocations: 204.3 kB / 0.4885 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.2464, allocations: 31.94 kB / 0.4886 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.2475, allocations: 39.97 kB / 0.4886 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.2477, allocations: 88.33 kB / 0.4887 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.2478, allocations: 39.98 kB / 0.4887 GB, free: 14.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004252/0.2483, allocations: 247.3 kB / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2483, allocations: 0 / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001571/0.2499, allocations: 199.9 kB / 0.4891 GB, free: 14.35 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.0002874/0.2502, allocations: 132.9 kB / 0.4893 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.2528, allocations: 0.8472 MB / 0.4901 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.2529, allocations: 4 kB / 0.4901 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.2542, allocations: 498.8 kB / 0.4906 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.2564, allocations: 139.5 kB / 0.4907 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.2618, allocations: 2.184 MB / 0.4928 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.2627, allocations: 0.9478 MB / 0.4938 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007268/0.2635, allocations: 105.7 kB / 0.4939 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.2638, allocations: 63.42 kB / 0.4939 GB, free: 9.336 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2638, allocations: 0 / 0.4939 GB, free: 9.336 MB / 382.1 MB Notification: Performance of Templates: time 0.02243/0.2863, allocations: 7.245 MB / 0.501 GB, free: 2.145 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 -s cvode -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