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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001412/0.001413, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.567/1.567, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001704/0.001704, allocations: 111.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2198/0.2198, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.934e-05, allocations: 1.312 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5091, allocations: 77.65 MB / 476.4 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.5093, allocations: 65.75 kB / 476.4 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.542, allocations: 11.23 MB / 487.7 MB, free: 16.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.542, allocations: 0 / 487.7 MB, free: 16.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/0.542, allocations: 11.62 kB / 487.7 MB, free: 16.78 MB / 330.7 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.002141/0.5442, allocations: 0.8509 MB / 488.5 MB, free: 16.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5443, allocations: 7.844 kB / 488.5 MB, free: 16.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.5446, allocations: 83.83 kB / 488.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.5454, allocations: 376.2 kB / 489 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.5455, allocations: 19.92 kB / 489 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.5456, allocations: 37.84 kB / 489 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008978/0.5465, allocations: 416.1 kB / 489.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.5473, allocations: 492.8 kB / 489.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.5474, allocations: 7.812 kB / 489.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.5475, allocations: 7.875 kB / 489.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.5475, allocations: 11.62 kB / 490 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.5506, allocations: 1.953 MB / 491.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.5514, allocations: 0.5535 MB / 492.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.5518, allocations: 265.7 kB / 492.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.5518, allocations: 18.38 kB / 492.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.5519, allocations: 42.5 kB / 492.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 1.993e-06/0.5519, allocations: 0 / 492.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.004801/0.5567, allocations: 3.58 MB / 496.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5568, allocations: 176.2 kB / 496.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.5571, allocations: 310.2 kB / 496.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.5571, allocations: 29.7 kB / 496.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5573, allocations: 266.3 kB / 497.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.5575, allocations: 392.1 kB / 497.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5576, allocations: 0 / 497.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5577, allocations: 383.3 kB / 497.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.558, allocations: 251.9 kB / 498.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.5585, allocations: 433.7 kB / 498.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.5589, allocations: 331.9 kB / 498.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5589, allocations: 0 / 498.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001033/0.56, allocations: 0.8279 MB / 499.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.56, allocations: 7.781 kB / 499.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.56, allocations: 4.312 kB / 499.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5601, allocations: 15.62 kB / 499.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.561, allocations: 292.2 kB / 0.4883 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.561, allocations: 19.34 kB / 0.4883 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.5614, allocations: 38.14 kB / 0.4883 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.5615, allocations: 45.36 kB / 0.4884 GB, free: 11.18 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5617, allocations: 120.7 kB / 0.4885 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.5618, allocations: 78.05 kB / 0.4886 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.5623, allocations: 253.6 kB / 0.4888 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.5623, allocations: 15.42 kB / 0.4888 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.5624, allocations: 3.875 kB / 0.4888 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5624, allocations: 3.844 kB / 0.4888 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.565, allocations: 2.156 MB / 0.491 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.565, allocations: 0 / 0.491 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/0.566, allocations: 260.2 kB / 0.4912 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.566, allocations: 11.59 kB / 0.4912 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.5661, allocations: 10.77 kB / 0.4912 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.5661, allocations: 11.56 kB / 0.4912 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5661, allocations: 4.156 kB / 0.4912 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.5677, allocations: 1.723 MB / 0.4929 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.568, allocations: 204.7 kB / 0.4931 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.568, allocations: 7.438 kB / 0.4931 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.5685, allocations: 42.12 kB / 0.4932 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.5687, allocations: 79.61 kB / 0.4932 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.5688, allocations: 38.03 kB / 0.4933 GB, free: 9.168 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.569, allocations: 236 kB / 0.4935 GB, free: 9.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.569, allocations: 0 / 0.4935 GB, free: 9.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007653/0.5698, allocations: 170.1 kB / 0.4937 GB, free: 9.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.57, allocations: 127.3 kB / 0.4938 GB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009067/0.5709, allocations: 0.7121 MB / 0.4945 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5709, allocations: 0 / 0.4945 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.5714, allocations: 426.6 kB / 0.4949 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.5721, allocations: 88.39 kB / 0.495 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.5748, allocations: 1.947 MB / 0.4969 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.5755, allocations: 0.964 MB / 0.4978 GB, free: 23.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004606/0.576, allocations: 103.7 kB / 0.4979 GB, free: 23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5762, allocations: 57.56 kB / 0.498 GB, free: 23 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5762, allocations: 0 / 0.498 GB, free: 23 MB / 346.7 MB Notification: Performance of Templates: time 0.01082/0.587, allocations: 6.246 MB / 0.5041 GB, free: 20.93 MB / 346.7 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)