Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 75.67 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 177.5 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.322e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006092/0.006125, allocations: 3.715 MB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.00885, allocations: 1.075 MB / 412.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.00922, allocations: 19.88 kB / 412.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.009528, allocations: 98.95 kB / 412.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.01005, allocations: 217.9 kB / 412.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.01072, allocations: 203.5 kB / 412.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.0118, allocations: 0.8053 MB / 413.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.01216, allocations: 164 kB / 413.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.01289, allocations: 447.1 kB / 414.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.01336, allocations: 255.2 kB / 414.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01347, allocations: 60 kB / 414.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.01371, allocations: 91.92 kB / 414.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.014, allocations: 147.4 kB / 414.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.01432, allocations: 243.4 kB / 414.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.01537, allocations: 0.7826 MB / 415.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.01538, allocations: 3.938 kB / 415.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01538, allocations: 0 / 415.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01539, allocations: 0 / 415.6 MB, free: 10.7 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.002262/0.01766, allocations: 0.9409 MB / 416.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.01771, allocations: 8.031 kB / 416.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.01786, allocations: 80.47 kB / 416.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.01845, allocations: 335.5 kB / 417 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.0185, allocations: 41.69 kB / 417 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.01862, allocations: 72.31 kB / 417.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.01996, allocations: 0.6232 MB / 417.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.02, allocations: 8.141 kB / 417.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.02008, allocations: 24.38 kB / 417.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.0201, allocations: 23.88 kB / 417.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.0215, allocations: 0.5216 MB / 418.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.02473, allocations: 1.914 MB / 420.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.0261, allocations: 0.6534 MB / 420.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.02676, allocations: 327.3 kB / 421.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.02688, allocations: 24.42 kB / 421.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.02694, allocations: 47 kB / 421.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.02694, allocations: 0 / 421.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.009159/0.0361, allocations: 3.956 MB / 425.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.03628, allocations: 222.3 kB / 425.4 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.03678, allocations: 373.8 kB / 425.8 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/0.03687, allocations: 45.7 kB / 425.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.0371, allocations: 269.5 kB / 426.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.03752, allocations: 420.4 kB / 426.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.03781, allocations: 174.9 kB / 426.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.03805, allocations: 390.6 kB / 427 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.03875, allocations: 322.5 kB / 427.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.03965, allocations: 0.5004 MB / 427.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.04143, allocations: 0.8751 MB / 428.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.04143, allocations: 4 kB / 428.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002082/0.04352, allocations: 1.008 MB / 429.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.04354, allocations: 8 kB / 429.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.04356, allocations: 4.438 kB / 429.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.04358, allocations: 12 kB / 429.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.04471, allocations: 283.6 kB / 430.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-05/0.04474, allocations: 19.88 kB / 430.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.04524, allocations: 51.91 kB / 430.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.04534, allocations: 43.98 kB / 430.2 MB, free: 11.46 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.0004614/0.0458, allocations: 229.5 kB / 430.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.04607, allocations: 79.53 kB / 430.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.04657, allocations: 210.9 kB / 430.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.04659, allocations: 16 kB / 430.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.04661, allocations: 7.922 kB / 430.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.04662, allocations: 7.984 kB / 430.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.05061, allocations: 2.055 MB / 432.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.05061, allocations: 4.281 kB / 432.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.05173, allocations: 255.7 kB / 433 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.05174, allocations: 11.94 kB / 433 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/0.05183, allocations: 28.41 kB / 433.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/0.05184, allocations: 9.562 kB / 433.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.05185, allocations: 4 kB / 433.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.05483, allocations: 1.906 MB / 435 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.05518, allocations: 123.5 kB / 435.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.05528, allocations: 24 kB / 435.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.05592, allocations: 48.03 kB / 435.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.05612, allocations: 92.44 kB / 435.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.05618, allocations: 35.98 kB / 435.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.0565, allocations: 251.2 kB / 435.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0565, allocations: 3.938 kB / 435.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009846/0.05748, allocations: 200.1 kB / 435.7 MB, free: 5.75 MB / 366.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.0002709/0.05775, allocations: 131 kB / 435.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.05962, allocations: 0.8126 MB / 436.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.05962, allocations: 4 kB / 436.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.06057, allocations: 467.2 kB / 437.1 MB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.06184, allocations: 136.9 kB / 437.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.0657, allocations: 1.89 MB / 439.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.06619, allocations: 352.4 kB / 439.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.06664, allocations: 97.75 kB / 439.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.06687, allocations: 68.48 kB / 439.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.06687, allocations: 4 kB / 439.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of Templates: time 0.01734/0.0842, allocations: 7.142 MB / 446.8 MB, free: 10.63 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.545604310929775]