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.001353/0.001353, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247.1 MB, free: 9.051 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.11 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 73.25 kB / 417.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 62.45 MB / 480.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006111/0.1364, allocations: 4.199 MB / 484.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1393, allocations: 1.168 MB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.1398, allocations: 15.94 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.1402, allocations: 67.41 kB / 485.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006066/0.1409, allocations: 182.6 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1415, allocations: 191.8 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009285/0.1425, allocations: 0.7938 MB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.1429, allocations: 239.5 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.1434, allocations: 318.8 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.1438, allocations: 342.4 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.1439, allocations: 56 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1441, allocations: 95.97 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1443, allocations: 143.5 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.1447, allocations: 354.2 kB / 488.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.1454, allocations: 0.5925 MB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1454, allocations: 3.938 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1454, allocations: 0 / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1454, allocations: 0 / 488.9 MB, free: 12.79 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.002033/0.1474, allocations: 1.013 MB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1475, allocations: 8.031 kB / 489.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006773/0.1482, allocations: 139.9 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1488, allocations: 417.6 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.1488, allocations: 41.62 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.149, allocations: 68.28 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1502, allocations: 0.6194 MB / 491.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.1503, allocations: 11.84 kB / 491.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.1503, allocations: 24 kB / 491.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1504, allocations: 20 kB / 491.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1515, allocations: 0.5091 MB / 491.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.1551, allocations: 2.186 MB / 494 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.1564, allocations: 0.6843 MB / 494.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.1571, allocations: 343 kB / 495 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.1572, allocations: 93.55 kB / 495.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.1573, allocations: 50.92 kB / 495.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 4.178e-06/0.1573, allocations: 0 / 495.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.008809/0.1661, allocations: 4.483 MB / 499.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.1663, allocations: 230.3 kB / 499.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.1668, allocations: 389.9 kB / 0.4885 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.1669, allocations: 41.7 kB / 0.4885 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.1672, allocations: 281 kB / 0.4888 GB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.1675, allocations: 413.9 kB / 0.4892 GB, free: 8 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.1679, allocations: 179 kB / 0.4894 GB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.1681, allocations: 378.8 kB / 0.4897 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.1687, allocations: 314.4 kB / 0.49 GB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.1696, allocations: 0.4926 MB / 0.4905 GB, free: 14.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.1712, allocations: 0.8597 MB / 0.4913 GB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1712, allocations: 0 / 0.4913 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001995/0.1732, allocations: 1.003 MB / 0.4923 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1733, allocations: 8 kB / 0.4923 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.1733, allocations: 8 kB / 0.4923 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.1733, allocations: 8 kB / 0.4923 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.1744, allocations: 276.2 kB / 0.4926 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.1744, allocations: 17.48 kB / 0.4926 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.1749, allocations: 51.91 kB / 0.4927 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.175, allocations: 36 kB / 0.4927 GB, free: 12.24 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.0004287/0.1755, allocations: 241.5 kB / 0.4929 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.1758, allocations: 79.09 kB / 0.493 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.1763, allocations: 223 kB / 0.4932 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1763, allocations: 12 kB / 0.4932 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.1763, allocations: 4 kB / 0.4932 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.1764, allocations: 7.969 kB / 0.4932 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.1804, allocations: 2.343 MB / 0.4955 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.1804, allocations: 4 kB / 0.4955 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.1815, allocations: 255.7 kB / 0.4958 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.1815, allocations: 11.94 kB / 0.4958 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.1816, allocations: 32.55 kB / 0.4958 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.1816, allocations: 8 kB / 0.4958 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1816, allocations: 4 kB / 0.4958 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.1845, allocations: 1.885 MB / 0.4977 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.1849, allocations: 204.1 kB / 0.4979 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.185, allocations: 24 kB / 0.4979 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.1856, allocations: 39.97 kB / 0.4979 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.1858, allocations: 96.31 kB / 0.498 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.1858, allocations: 31.98 kB / 0.4981 GB, free: 6.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003394/0.1862, allocations: 267.1 kB / 0.4983 GB, free: 6.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1862, allocations: 0 / 0.4983 GB, free: 6.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009158/0.1871, allocations: 196 kB / 0.4985 GB, free: 6.129 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.0002361/0.1874, allocations: 149 kB / 0.4986 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.1895, allocations: 0.874 MB / 0.4995 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1895, allocations: 0 / 0.4995 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.1904, allocations: 487.5 kB / 0.5 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.1918, allocations: 136.8 kB / 0.5001 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.1962, allocations: 2.56 MB / 0.5026 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.1969, allocations: 0.9479 MB / 0.5035 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.1972, allocations: 75.42 kB / 0.5036 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1973, allocations: 4 kB / 0.5036 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of Templates: time 0.2204/0.4177, allocations: 9.147 MB / 0.5125 GB, free: 39.04 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