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.001534/0.001534, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002554, allocations: 73.58 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1383, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006262/0.1446, allocations: 4.165 MB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.148, allocations: 1.176 MB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006192/0.1487, allocations: 19.88 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.149, allocations: 103 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.1498, allocations: 198.1 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.1507, allocations: 235.5 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.1518, allocations: 0.7823 MB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.1524, allocations: 247.4 kB / 486.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.1531, allocations: 314.9 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1537, allocations: 346.3 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1539, allocations: 60 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1542, allocations: 91.98 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1544, allocations: 147.4 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.1549, allocations: 358.2 kB / 488.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1561, allocations: 0.7709 MB / 489 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1561, allocations: 0 / 489 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1561, allocations: 4 kB / 489 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1561, allocations: 0 / 489 MB, free: 12.26 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.002685/0.1588, allocations: 1.005 MB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1589, allocations: 8.031 kB / 490 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.16, allocations: 143.9 kB / 490.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.1607, allocations: 417.6 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.1608, allocations: 37.69 kB / 490.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.1609, allocations: 76.2 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.1625, allocations: 0.6232 MB / 491.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.1626, allocations: 11.89 kB / 491.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.1627, allocations: 24 kB / 491.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.1627, allocations: 19.94 kB / 491.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.1644, allocations: 0.5176 MB / 491.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.1689, allocations: 2.171 MB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.1708, allocations: 0.6911 MB / 494.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.1716, allocations: 338.5 kB / 495 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.1718, allocations: 97.53 kB / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.1719, allocations: 46.94 kB / 495.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 4.208e-06/0.1719, allocations: 0 / 495.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01191/0.1838, allocations: 4.497 MB / 499.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.184, allocations: 222.3 kB / 499.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.1847, allocations: 390 kB / 0.4885 GB, free: 224 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.1848, allocations: 45.7 kB / 0.4886 GB, free: 172 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.1851, allocations: 281 kB / 0.4889 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.1855, allocations: 410 kB / 0.4892 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.1859, allocations: 179 kB / 0.4894 GB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1861, allocations: 382.8 kB / 0.4898 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.187, allocations: 306.5 kB / 0.4901 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.1881, allocations: 0.5043 MB / 0.4906 GB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.1901, allocations: 0.8661 MB / 0.4914 GB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1902, allocations: 0 / 0.4914 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002583/0.1928, allocations: 0.9997 MB / 0.4924 GB, free: 12.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.1928, allocations: 4 kB / 0.4924 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.1928, allocations: 11.94 kB / 0.4924 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.1929, allocations: 8 kB / 0.4924 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.1944, allocations: 275.6 kB / 0.4927 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/0.1944, allocations: 15.98 kB / 0.4927 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.1952, allocations: 48.36 kB / 0.4927 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.1953, allocations: 43.98 kB / 0.4928 GB, free: 11.7 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.0004591/0.1958, allocations: 229.5 kB / 0.493 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.1961, allocations: 75.09 kB / 0.4931 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.1968, allocations: 223 kB / 0.4933 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.1968, allocations: 12 kB / 0.4933 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.1968, allocations: 8 kB / 0.4933 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.1969, allocations: 3.984 kB / 0.4933 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.2019, allocations: 2.359 MB / 0.4956 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.202, allocations: 4 kB / 0.4956 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.2037, allocations: 247.7 kB / 0.4958 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.2037, allocations: 11.94 kB / 0.4959 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.2038, allocations: 27.98 kB / 0.4959 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.2038, allocations: 12.22 kB / 0.4959 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.2038, allocations: 8 kB / 0.4959 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.2076, allocations: 1.873 MB / 0.4977 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.2081, allocations: 204.1 kB / 0.4979 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2082, allocations: 23.98 kB / 0.498 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.2092, allocations: 39.98 kB / 0.498 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.2094, allocations: 84.39 kB / 0.4981 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.2095, allocations: 35.98 kB / 0.4981 GB, free: 6.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.21, allocations: 271.1 kB / 0.4984 GB, free: 5.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.515e-06/0.21, allocations: 0 / 0.4984 GB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001489/0.2115, allocations: 199.9 kB / 0.4986 GB, free: 5.602 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.0003405/0.2119, allocations: 143.1 kB / 0.4987 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.2147, allocations: 0.8704 MB / 0.4995 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.2148, allocations: 4 kB / 0.4995 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.2159, allocations: 486.6 kB / 0.5 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.2178, allocations: 150.6 kB / 0.5002 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.2232, allocations: 2.219 MB / 0.5023 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/0.2242, allocations: 0.9518 MB / 0.5033 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008485/0.225, allocations: 102 kB / 0.5033 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.2253, allocations: 63.42 kB / 0.5034 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.2253, allocations: 0 / 0.5034 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of Templates: time 0.289/0.5144, allocations: 7.398 MB / 0.5106 GB, free: 40 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/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_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches