Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007907/0.007907, allocations: 101.5 kB / 15.73 MB, free: 5.602 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.001232/0.001232, allocations: 194.4 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2078/0.2078, allocations: 38 MB / 307.9 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 433 MB, free: 14.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1411, allocations: 56.46 MB / 489.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005561/0.1467, allocations: 4.095 MB / 493.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1491, allocations: 1.114 MB / 494.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.1496, allocations: 11.94 kB / 494.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1499, allocations: 103 kB / 494.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.1503, allocations: 198.2 kB / 495 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.1509, allocations: 195.6 kB / 495.1 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.1519, allocations: 0.7784 MB / 495.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.1523, allocations: 243.5 kB / 496.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.1528, allocations: 322.8 kB / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.1532, allocations: 330.5 kB / 496.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.1533, allocations: 60 kB / 496.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.1535, allocations: 83.98 kB / 496.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.1537, allocations: 147.5 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.154, allocations: 354.2 kB / 497.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.1549, allocations: 0.759 MB / 498.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1549, allocations: 0 / 498.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1549, allocations: 0 / 498.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1549, allocations: 4 kB / 498.2 MB, free: 13.09 MB / 382.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.001956/0.1569, allocations: 1.001 MB / 499.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1569, allocations: 11.89 kB / 499.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.1571, allocations: 80.09 kB / 499.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.1576, allocations: 401.8 kB / 499.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.1577, allocations: 41.69 kB / 499.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1578, allocations: 68.27 kB / 499.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.159, allocations: 0.6268 MB / 0.4887 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.159, allocations: 7.906 kB / 0.4887 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.1591, allocations: 24 kB / 0.4887 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.1591, allocations: 16 kB / 0.4887 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.1602, allocations: 0.5294 MB / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.1636, allocations: 2.149 MB / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.1651, allocations: 0.699 MB / 0.492 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/0.1658, allocations: 351.1 kB / 0.4924 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.1661, allocations: 97.83 kB / 0.4925 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.1661, allocations: 50.94 kB / 0.4925 GB, free: 6.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.916e-06/0.1662, allocations: 0 / 0.4925 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008481/0.1746, allocations: 4.495 MB / 0.4969 GB, free: 1.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1748, allocations: 226.2 kB / 0.4971 GB, free: 1.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1752, allocations: 369.8 kB / 0.4975 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.1753, allocations: 45.7 kB / 0.4975 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1755, allocations: 265 kB / 0.4978 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.1758, allocations: 402.1 kB / 0.4981 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.1761, allocations: 178.9 kB / 0.4983 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.1763, allocations: 382.8 kB / 0.4987 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.1769, allocations: 318.4 kB / 0.499 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.1777, allocations: 0.5004 MB / 0.4995 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.1791, allocations: 0.8741 MB / 0.5003 GB, free: 14.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1792, allocations: 4 kB / 0.5003 GB, free: 14.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001798/0.181, allocations: 1.004 MB / 0.5013 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.181, allocations: 7.938 kB / 0.5013 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.181, allocations: 12 kB / 0.5013 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.99e-05/0.1811, allocations: 11.98 kB / 0.5013 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.1821, allocations: 279.6 kB / 0.5016 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/0.1821, allocations: 15.94 kB / 0.5016 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.1826, allocations: 47.97 kB / 0.5017 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.1827, allocations: 43.98 kB / 0.5017 GB, free: 12.6 MB / 398.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.0003575/0.183, allocations: 237.4 kB / 0.5019 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.1833, allocations: 75.19 kB / 0.502 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.1838, allocations: 219.1 kB / 0.5022 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.1839, allocations: 12 kB / 0.5022 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/0.1839, allocations: 4 kB / 0.5022 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.1839, allocations: 3.984 kB / 0.5022 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/0.1877, allocations: 2.345 MB / 0.5045 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.1877, allocations: 8.281 kB / 0.5045 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.1887, allocations: 251.7 kB / 0.5048 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1887, allocations: 8 kB / 0.5048 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.1888, allocations: 28 kB / 0.5048 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.1888, allocations: 11.98 kB / 0.5048 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1888, allocations: 7.938 kB / 0.5048 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.1913, allocations: 1.901 MB / 0.5067 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.1915, allocations: 196.3 kB / 0.5069 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.1916, allocations: 39.91 kB / 0.5069 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.1922, allocations: 43.97 kB / 0.5069 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.1924, allocations: 88.33 kB / 0.507 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.1925, allocations: 35.98 kB / 0.5071 GB, free: 6.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.1927, allocations: 251.2 kB / 0.5073 GB, free: 6.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1927, allocations: 0 / 0.5073 GB, free: 6.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008326/0.1935, allocations: 192 kB / 0.5075 GB, free: 6.5 MB / 398.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.000193/0.1937, allocations: 143.1 kB / 0.5076 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1953, allocations: 0.8471 MB / 0.5085 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1954, allocations: 0 / 0.5085 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.1962, allocations: 494.6 kB / 0.5089 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.1974, allocations: 129.7 kB / 0.509 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.2008, allocations: 2.188 MB / 0.5112 GB, free: 2.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.2014, allocations: 0.9478 MB / 0.5121 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.2018, allocations: 101.7 kB / 0.5122 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.2019, allocations: 63.42 kB / 0.5123 GB, free: 1.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.124e-06/0.202, allocations: 0 / 0.5123 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Templates: time 0.01462/0.2166, allocations: 7.587 MB / 0.5197 GB, free: 9.922 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1)