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.000923/0.000923, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.0009092/0.0009092, allocations: 173.3 kB / 24.14 MB, free: 364 kB / 18.57 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 0.8613/0.8613, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.1922/0.1922, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 1.923e-06/1.923e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.347e-05, allocations: 6.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1307/0.1307, allocations: 4.004 MB / 303.1 MB, free: 18.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.1333, allocations: 1.128 MB / 304.2 MB, free: 18.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.1336, allocations: 22.81 kB / 304.2 MB, free: 18.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1339, allocations: 100.1 kB / 304.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.1343, allocations: 214.7 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.1349, allocations: 198.2 kB / 304.7 MB, free: 17.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000822/0.1357, allocations: 0.8063 MB / 305.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.1359, allocations: 163.3 kB / 305.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/0.1366, allocations: 459.5 kB / 306.2 MB, free: 17.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.137, allocations: 261.7 kB / 306.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1372, allocations: 57.75 kB / 306.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1373, allocations: 91.06 kB / 306.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.1374, allocations: 151.2 kB / 306.7 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.1377, allocations: 240.7 kB / 306.9 MB, free: 16.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.1384, allocations: 0.5435 MB / 307.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1384, allocations: 0.5156 kB / 307.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1384, allocations: 0 / 307.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.1384, allocations: 0 / 307.5 MB, free: 16.67 MB / 282.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.001274/0.1397, allocations: 0.9038 MB / 308.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1397, allocations: 10.12 kB / 308.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1398, allocations: 101.7 kB / 308.5 MB, free: 16.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1402, allocations: 291.6 kB / 308.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.1402, allocations: 46.75 kB / 308.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.1403, allocations: 70.17 kB / 308.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.1409, allocations: 470.9 kB / 309.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.1409, allocations: 13.48 kB / 309.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.141, allocations: 26 kB / 309.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.141, allocations: 17.59 kB / 309.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1413, allocations: 195.3 kB / 309.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.1429, allocations: 1.592 MB / 311.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1435, allocations: 440.3 kB / 311.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1436, allocations: 161.6 kB / 311.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.1437, allocations: 22.42 kB / 311.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1437, allocations: 51.05 kB / 311.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.1437, allocations: 0 / 311.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.003472/0.1472, allocations: 2.742 MB / 314.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1473, allocations: 223.2 kB / 314.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1475, allocations: 341.7 kB / 315.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.1475, allocations: 45.89 kB / 315.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1476, allocations: 228.3 kB / 315.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.1477, allocations: 429.8 kB / 315.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1479, allocations: 182.5 kB / 316 MB, free: 11.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.148, allocations: 389.8 kB / 316.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1481, allocations: 101 kB / 316.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1483, allocations: 304.8 kB / 316.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.1487, allocations: 0.5005 MB / 317.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1487, allocations: 1.562 kB / 317.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0005639/0.1493, allocations: 0.508 MB / 317.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1493, allocations: 11.06 kB / 317.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1493, allocations: 5.812 kB / 317.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1494, allocations: 13.69 kB / 317.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.1499, allocations: 327.5 kB / 318.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.15, allocations: 14.11 kB / 318.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.1502, allocations: 48.22 kB / 318.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.1502, allocations: 39.27 kB / 318.3 MB, free: 10.29 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.1503, allocations: 168.6 kB / 318.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1505, allocations: 89.3 kB / 318.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.1506, allocations: 154.5 kB / 318.7 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1506, allocations: 18.03 kB / 318.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.1507, allocations: 1.25 kB / 318.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1507, allocations: 6.453 kB / 318.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.152, allocations: 1.421 MB / 320.1 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.152, allocations: 4 kB / 320.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.1525, allocations: 281 kB / 320.4 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1525, allocations: 8 kB / 320.4 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1525, allocations: 24 kB / 320.4 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.1525, allocations: 15.42 kB / 320.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1525, allocations: 11.88 kB / 320.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.1531, allocations: 1.225 MB / 321.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1533, allocations: 75.52 kB / 321.7 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.1533, allocations: 24 kB / 321.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1536, allocations: 35.98 kB / 321.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.1537, allocations: 88.38 kB / 321.9 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.1537, allocations: 27.98 kB / 321.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1537, allocations: 136.7 kB / 322 MB, free: 6.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1537, allocations: 0 / 322 MB, free: 6.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004882/0.1542, allocations: 192 kB / 322.2 MB, free: 6.312 MB / 282.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 (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.0001257/0.1544, allocations: 129.1 kB / 322.4 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1548, allocations: 470.9 kB / 322.8 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.1548, allocations: 8.812 kB / 322.8 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.155, allocations: 274.9 kB / 323.1 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.1556, allocations: 143.2 kB / 323.2 MB, free: 5.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1571, allocations: 1.496 MB / 324.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1572, allocations: 173.2 kB / 324.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1575, allocations: 85.36 kB / 325 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.1577, allocations: 197.3 kB / 325.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1577, allocations: 0 / 325.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01025/0.1679, allocations: 7.926 MB / 333.1 MB, free: 11.47 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0969763207249343]