Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004391/0.004391, allocations: 351.4 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.665/3.665, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003501/0.003501, allocations: 228.4 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4901/0.4901, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004734, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.0866, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.272/0.3587, allocations: 3.478 MB / 0.6101 GB, free: 88.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.3615, allocations: 1.021 MB / 0.6111 GB, free: 88.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004859/0.3621, allocations: 14.16 kB / 0.6111 GB, free: 88.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.3623, allocations: 72.08 kB / 0.6112 GB, free: 88.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000708/0.363, allocations: 192.5 kB / 0.6114 GB, free: 88.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.3638, allocations: 144.2 kB / 0.6115 GB, free: 88.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.3652, allocations: 0.7243 MB / 0.6122 GB, free: 88.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.3657, allocations: 183.1 kB / 0.6124 GB, free: 88.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007838/0.3665, allocations: 252.9 kB / 0.6127 GB, free: 88.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.3672, allocations: 303 kB / 0.6129 GB, free: 88.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3673, allocations: 34.12 kB / 0.613 GB, free: 88.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.3676, allocations: 50.53 kB / 0.613 GB, free: 88.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3678, allocations: 113.7 kB / 0.6131 GB, free: 88.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.368, allocations: 148.9 kB / 0.6133 GB, free: 87.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.369, allocations: 0.543 MB / 0.6138 GB, free: 87.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.369, allocations: 1.156 kB / 0.6138 GB, free: 87.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.369, allocations: 0 / 0.6138 GB, free: 87.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.3691, allocations: 1.5 kB / 0.6138 GB, free: 87.93 MB / 362.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.002913/0.372, allocations: 0.9309 MB / 0.6147 GB, free: 87.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3721, allocations: 9.812 kB / 0.6147 GB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.3723, allocations: 79.16 kB / 0.6148 GB, free: 87.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.373, allocations: 387.9 kB / 0.6152 GB, free: 87.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.3731, allocations: 41.69 kB / 0.6152 GB, free: 87.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.3733, allocations: 68.41 kB / 0.6153 GB, free: 87.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.3751, allocations: 0.6269 MB / 0.6159 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.3752, allocations: 11.09 kB / 0.6159 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.3753, allocations: 28.45 kB / 0.6159 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3753, allocations: 14.22 kB / 0.6159 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3774, allocations: 0.5646 MB / 0.6165 GB, free: 86.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.3826, allocations: 2.034 MB / 0.6185 GB, free: 86.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.3847, allocations: 0.6746 MB / 0.6191 GB, free: 85.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.3861, allocations: 349.2 kB / 0.6195 GB, free: 85.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.3862, allocations: 21.95 kB / 0.6195 GB, free: 85.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3862, allocations: 45.42 kB / 0.6195 GB, free: 85.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 5.11e-06/0.3863, allocations: 0 / 0.6195 GB, free: 85.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01709/0.4033, allocations: 4.545 MB / 0.624 GB, free: 83.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4035, allocations: 169.2 kB / 0.6241 GB, free: 83.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4047, allocations: 373.5 kB / 0.6245 GB, free: 83.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.4051, allocations: 46.14 kB / 0.6245 GB, free: 82.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.4055, allocations: 269.6 kB / 0.6248 GB, free: 82.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/0.4063, allocations: 409.7 kB / 0.6252 GB, free: 82.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4064, allocations: 24.12 kB / 0.6252 GB, free: 82.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.4067, allocations: 377.5 kB / 0.6256 GB, free: 82.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.4088, allocations: 340.5 kB / 0.6259 GB, free: 81.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.4113, allocations: 0.5297 MB / 0.6264 GB, free: 81.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.413, allocations: 403.3 kB / 0.6268 GB, free: 81.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4131, allocations: 1.375 kB / 0.6268 GB, free: 81.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00329/0.4164, allocations: 1.048 MB / 0.6278 GB, free: 81.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.4165, allocations: 15.64 kB / 0.6278 GB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.4165, allocations: 5.469 kB / 0.6278 GB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.4165, allocations: 10.88 kB / 0.6278 GB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.4187, allocations: 287.7 kB / 0.6281 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-05/0.4188, allocations: 15.97 kB / 0.6281 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4198, allocations: 62.98 kB / 0.6282 GB, free: 81.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4199, allocations: 43.84 kB / 0.6282 GB, free: 81.05 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005002/0.4205, allocations: 232.4 kB / 0.6285 GB, free: 80.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.4207, allocations: 75.22 kB / 0.6285 GB, free: 80.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4218, allocations: 327.5 kB / 0.6288 GB, free: 80.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.4218, allocations: 9.547 kB / 0.6288 GB, free: 80.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.4218, allocations: 5.031 kB / 0.6289 GB, free: 80.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.4223, allocations: 200.7 kB / 0.629 GB, free: 80.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.4224, allocations: 21.62 kB / 0.6291 GB, free: 80.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4235, allocations: 53.88 kB / 0.6291 GB, free: 80.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.4237, allocations: 76.66 kB / 0.6292 GB, free: 80.47 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004654/0.4284, allocations: 1.461 MB / 0.6306 GB, free: 79.76 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004529/0.433, allocations: 1.883 MB / 0.6325 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001354/0.4344, allocations: 436.7 kB / 0.6329 GB, free: 78.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004365/0.4349, allocations: 259.1 kB / 0.6331 GB, free: 78.49 MB / 362.7 MB Notification: Performance of Backend: time 8.61e-07/0.4349, allocations: 0 / 0.6331 GB, free: 78.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.4378, allocations: 0.6539 MB / 0.6338 GB, free: 78.25 MB / 362.7 MB Notification: Performance of SimCode: time 0.005127/0.443, allocations: 2.85 MB / 0.6365 GB, free: 76.29 MB / 362.7 MB Notification: Performance of Templates: time 0.02727/0.4703, allocations: 8.192 MB / 0.6445 GB, free: 72.36 MB / 362.7 MB