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.001416/0.001416, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001477/0.001477, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.333/1.333, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.21/0.21, allocations: 44.18 MB / 336.9 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.83 kB / 408.5 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005612/0.1153, allocations: 4.136 MB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1178, allocations: 1.051 MB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.1184, allocations: 15.94 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1189, allocations: 71.39 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.1197, allocations: 170.6 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.1205, allocations: 167.8 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1217, allocations: 0.7823 MB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.1222, allocations: 243.3 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.1228, allocations: 302.9 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.1233, allocations: 338.5 kB / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1235, allocations: 56 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.1238, allocations: 87.98 kB / 476.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1239, allocations: 139.5 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.1244, allocations: 350.2 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.1252, allocations: 0.577 MB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1252, allocations: 0 / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1252, allocations: 0 / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.1253, allocations: 0 / 477.8 MB, free: 6.277 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.002393/0.1277, allocations: 1.001 MB / 478.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1277, allocations: 8.031 kB / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1279, allocations: 76.09 kB / 478.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.1285, allocations: 389.8 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.1286, allocations: 45.69 kB / 479.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1287, allocations: 72.2 kB / 479.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1301, allocations: 0.6268 MB / 480 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.1301, allocations: 15.84 kB / 480 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.1302, allocations: 24 kB / 480.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1302, allocations: 12 kB / 480.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1314, allocations: 0.5321 MB / 480.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.1349, allocations: 2.172 MB / 482.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1362, allocations: 0.6962 MB / 483.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/0.1368, allocations: 351.1 kB / 483.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.137, allocations: 89.55 kB / 483.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.137, allocations: 50.92 kB / 484 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 4.949e-06/0.1371, allocations: 3.984 kB / 484 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008608/0.1457, allocations: 4.493 MB / 488.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1458, allocations: 222.2 kB / 488.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.1463, allocations: 362 kB / 489 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.1464, allocations: 45.7 kB / 489.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1466, allocations: 261 kB / 489.3 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.1469, allocations: 418 kB / 489.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.1472, allocations: 186.9 kB / 489.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1474, allocations: 374.8 kB / 490.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.1481, allocations: 314.4 kB / 490.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/0.1489, allocations: 0.5082 MB / 491.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.1504, allocations: 0.8656 MB / 492 MB, free: 7.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1504, allocations: 4 kB / 492 MB, free: 7.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001903/0.1524, allocations: 1.004 MB / 493 MB, free: 6.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1524, allocations: 11.94 kB / 493 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1524, allocations: 4.078 kB / 493 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.1525, allocations: 12.09 kB / 493 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.1535, allocations: 287.5 kB / 493.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-05/0.1536, allocations: 15.98 kB / 493.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.1541, allocations: 52.25 kB / 493.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.1542, allocations: 39.98 kB / 493.4 MB, free: 5.781 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.0003524/0.1546, allocations: 233.5 kB / 493.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.1548, allocations: 83.03 kB / 493.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1553, allocations: 219.1 kB / 493.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.1553, allocations: 12 kB / 493.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.1554, allocations: 4 kB / 493.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.1554, allocations: 7.984 kB / 493.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.1594, allocations: 2.351 MB / 496.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.1594, allocations: 4 kB / 496.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.1605, allocations: 251.7 kB / 496.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.1606, allocations: 8.281 kB / 496.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/0.1606, allocations: 31.94 kB / 496.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.1607, allocations: 11.94 kB / 496.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.1607, allocations: 7.984 kB / 496.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.1633, allocations: 1.897 MB / 498.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.1637, allocations: 200.3 kB / 498.7 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.1638, allocations: 35.92 kB / 498.7 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.1645, allocations: 40.16 kB / 498.7 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.1647, allocations: 80.39 kB / 498.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.1648, allocations: 35.94 kB / 498.9 MB, free: 116 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.1651, allocations: 263.1 kB / 499.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1651, allocations: 0 / 499.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009536/0.166, allocations: 192 kB / 499.3 MB, free: 15.67 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.0002237/0.1663, allocations: 131.6 kB / 499.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.1683, allocations: 0.8944 MB / 0.4886 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.1684, allocations: 0.875 kB / 0.4886 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000924/0.1693, allocations: 0.4912 MB / 0.4891 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.1709, allocations: 138.3 kB / 0.4892 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.175, allocations: 2.533 MB / 0.4917 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.1756, allocations: 0.9478 MB / 0.4926 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.1761, allocations: 71.42 kB / 0.4927 GB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.843e-06/0.1761, allocations: 0 / 0.4927 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01498/0.1911, allocations: 8.905 MB / 0.5014 GB, free: 1.461 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