Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.11 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 75.38 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1219, allocations: 62.45 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005486/0.1275, allocations: 4.183 MB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.13, allocations: 1.176 MB / 485.3 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.1304, allocations: 15.94 kB / 485.3 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1307, allocations: 71.41 kB / 485.4 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.1312, allocations: 182.5 kB / 485.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.1318, allocations: 195.7 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.1326, allocations: 0.7588 MB / 486.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.133, allocations: 202.8 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1334, allocations: 286.9 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.1337, allocations: 334.4 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.1338, allocations: 36 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.134, allocations: 71.98 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1342, allocations: 127.4 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.1345, allocations: 342.1 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.135, allocations: 0.5614 MB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.135, allocations: 0 / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.135, allocations: 0 / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.135, allocations: 0 / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001914/0.137, allocations: 1.009 MB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.137, allocations: 8.875 kB / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/0.1377, allocations: 147.9 kB / 489.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.1382, allocations: 429.5 kB / 490 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.1382, allocations: 49.69 kB / 490.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1383, allocations: 64.28 kB / 490.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1395, allocations: 0.6154 MB / 490.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.1395, allocations: 15.89 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.1396, allocations: 20 kB / 490.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1396, allocations: 16 kB / 490.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1407, allocations: 0.5151 MB / 491.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.1438, allocations: 2.174 MB / 493.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.145, allocations: 0.6805 MB / 494.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.1456, allocations: 342.7 kB / 494.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.1458, allocations: 97.84 kB / 494.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1458, allocations: 46.94 kB / 494.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.347e-06/0.1458, allocations: 4 kB / 494.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.007742/0.1536, allocations: 4.49 MB / 499.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1537, allocations: 218.3 kB / 499.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.1541, allocations: 385.9 kB / 499.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.1542, allocations: 50.14 kB / 499.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1544, allocations: 277 kB / 0.4883 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.1547, allocations: 413.9 kB / 0.4887 GB, free: 404 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.1549, allocations: 179 kB / 0.4889 GB, free: 220 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1551, allocations: 386.7 kB / 0.4893 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.1557, allocations: 310.4 kB / 0.4896 GB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1564, allocations: 0.4965 MB / 0.49 GB, free: 14.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.1578, allocations: 0.8627 MB / 0.4909 GB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1578, allocations: 4 kB / 0.4909 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001762/0.1595, allocations: 0.9953 MB / 0.4919 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1596, allocations: 8 kB / 0.4919 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1596, allocations: 7.984 kB / 0.4919 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.1596, allocations: 8 kB / 0.4919 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.1606, allocations: 283.6 kB / 0.4921 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.1607, allocations: 12.09 kB / 0.4922 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.1611, allocations: 40.17 kB / 0.4922 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.1612, allocations: 47.98 kB / 0.4922 GB, free: 12.62 MB / 382.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 (145): * Single equations (assignments): 145 * 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.0003338/0.1616, allocations: 233.5 kB / 0.4925 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.1618, allocations: 79.09 kB / 0.4925 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.1622, allocations: 215 kB / 0.4927 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1623, allocations: 12 kB / 0.4928 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1623, allocations: 4 kB / 0.4928 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.1623, allocations: 11.97 kB / 0.4928 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.1659, allocations: 2.366 MB / 0.4951 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.1659, allocations: 4 kB / 0.4951 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.167, allocations: 243.7 kB / 0.4953 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.167, allocations: 11.94 kB / 0.4953 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.1671, allocations: 27.98 kB / 0.4954 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.1671, allocations: 8 kB / 0.4954 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1671, allocations: 7.938 kB / 0.4954 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.1696, allocations: 1.877 MB / 0.4972 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.1699, allocations: 204.1 kB / 0.4974 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.17, allocations: 24 kB / 0.4974 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.1706, allocations: 43.97 kB / 0.4975 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.1708, allocations: 92.27 kB / 0.4976 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.1709, allocations: 28 kB / 0.4976 GB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.1711, allocations: 271.1 kB / 0.4978 GB, free: 6.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1712, allocations: 0 / 0.4978 GB, free: 6.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.172, allocations: 200 kB / 0.498 GB, free: 6.516 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 (116): * Single equations (assignments): 116 * 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.0002065/0.1723, allocations: 139.1 kB / 0.4982 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.1738, allocations: 0.8237 MB / 0.499 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1738, allocations: 0 / 0.499 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.1746, allocations: 483.1 kB / 0.4994 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.1759, allocations: 146 kB / 0.4996 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.1797, allocations: 2.546 MB / 0.5021 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.1804, allocations: 0.9482 MB / 0.503 GB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.1807, allocations: 71.42 kB / 0.503 GB, free: 1.262 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1807, allocations: 0 / 0.503 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Templates: time 0.1994/0.3801, allocations: 9.135 MB / 0.512 GB, free: 38.91 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches