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.00119/0.00119, allocations: 107.1 kB / 17.33 MB, free: 6.023 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.001584/0.001585, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.403/1.403, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2226/0.2226, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.36 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 60.83 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00539/0.11, allocations: 4.128 MB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1123, allocations: 1.059 MB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.1128, allocations: 11.94 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1132, allocations: 75.39 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.1138, allocations: 170.6 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.1144, allocations: 163.8 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009785/0.1154, allocations: 0.7745 MB / 475.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1158, allocations: 243.3 kB / 475.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.1162, allocations: 302.9 kB / 475.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.1167, allocations: 342.5 kB / 475.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.1169, allocations: 60 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.1171, allocations: 83.98 kB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1173, allocations: 143.5 kB / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1177, allocations: 362.1 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.1184, allocations: 0.7437 MB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1184, allocations: 0 / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1184, allocations: 3.984 kB / 477.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.1185, allocations: 0 / 477.3 MB, free: 6.086 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.001928/0.1204, allocations: 0.9975 MB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1204, allocations: 12.03 kB / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1206, allocations: 76.09 kB / 478.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1211, allocations: 401.7 kB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.1211, allocations: 41.69 kB / 478.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1212, allocations: 76.28 kB / 478.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.1224, allocations: 0.619 MB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.1225, allocations: 11.91 kB / 479.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.1225, allocations: 24 kB / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.1226, allocations: 16 kB / 479.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1237, allocations: 0.5255 MB / 480.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.1267, allocations: 2.169 MB / 482.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1279, allocations: 0.7077 MB / 483 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.1285, allocations: 343.2 kB / 483.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1287, allocations: 97.53 kB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1287, allocations: 50.94 kB / 483.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.1287, allocations: 0 / 483.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007779/0.1365, allocations: 4.499 MB / 488 MB, free: 10.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1366, allocations: 218.2 kB / 488.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.137, allocations: 366 kB / 488.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.1371, allocations: 49.7 kB / 488.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1373, allocations: 265.3 kB / 488.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.1375, allocations: 414 kB / 489.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.1378, allocations: 178.9 kB / 489.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.138, allocations: 382.8 kB / 489.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.1386, allocations: 322.4 kB / 490.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.1394, allocations: 0.5019 MB / 490.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.1409, allocations: 0.8655 MB / 491.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1409, allocations: 0 / 491.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001929/0.1428, allocations: 1.008 MB / 492.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1429, allocations: 11.94 kB / 492.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1429, allocations: 4 kB / 492.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.1429, allocations: 12.44 kB / 492.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.144, allocations: 279.6 kB / 492.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.144, allocations: 19.92 kB / 492.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.1445, allocations: 47.97 kB / 492.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.1446, allocations: 40 kB / 492.9 MB, free: 5.586 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.0003468/0.145, allocations: 233.6 kB / 493.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.1452, allocations: 83.06 kB / 493.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.1457, allocations: 218.8 kB / 493.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.1457, allocations: 16 kB / 493.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1458, allocations: 0 / 493.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.1458, allocations: 11.97 kB / 493.4 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.1497, allocations: 2.347 MB / 495.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.1497, allocations: 4.281 kB / 495.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.1508, allocations: 255.7 kB / 496.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.1508, allocations: 8 kB / 496.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.1509, allocations: 31.92 kB / 496.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.1509, allocations: 8 kB / 496.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1509, allocations: 7.938 kB / 496.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.1535, allocations: 1.893 MB / 498 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.1538, allocations: 204.2 kB / 498.2 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.1539, allocations: 27.94 kB / 498.2 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.1546, allocations: 43.97 kB / 498.3 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.1548, allocations: 92.33 kB / 498.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.1549, allocations: 35.98 kB / 498.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.1551, allocations: 247.2 kB / 498.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 0 / 498.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009484/0.1561, allocations: 196 kB / 498.8 MB, free: 15.48 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.0002023/0.1563, allocations: 139.5 kB / 499 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.1585, allocations: 0.895 MB / 499.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.1585, allocations: 0 / 499.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.1595, allocations: 499.1 kB / 0.4886 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.161, allocations: 142.7 kB / 0.4888 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.1652, allocations: 2.496 MB / 0.4912 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.1658, allocations: 0.9478 MB / 0.4921 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.1662, allocations: 93.77 kB / 0.4922 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1664, allocations: 59.42 kB / 0.4923 GB, free: 10.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1664, allocations: 4 kB / 0.4923 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Templates: time 0.01474/0.1812, allocations: 7.044 MB / 0.4991 GB, free: 3.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches