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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.68/1.68, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3238/0.3238, allocations: 37.99 MB / 307.8 MB, free: 9.965 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.001453/0.001453, allocations: 72.73 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 56.47 MB / 431.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005226/0.1354, allocations: 4.081 MB / 435.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1375, allocations: 1.118 MB / 436.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1377, allocations: 19.88 kB / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.138, allocations: 98.95 kB / 437 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.1383, allocations: 198.2 kB / 437.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.1388, allocations: 195.6 kB / 437.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000646/0.1395, allocations: 0.7707 MB / 438.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.1398, allocations: 243.6 kB / 438.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.1402, allocations: 302.9 kB / 438.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.1405, allocations: 338.5 kB / 439 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.1406, allocations: 60 kB / 439.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1408, allocations: 83.98 kB / 439.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1409, allocations: 159.4 kB / 439.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1412, allocations: 346.2 kB / 439.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.1418, allocations: 0.7473 MB / 440.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1419, allocations: 7.984 kB / 440.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1419, allocations: 0 / 440.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1419, allocations: 0 / 440.4 MB, free: 13.87 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.001819/0.1437, allocations: 0.9936 MB / 441.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1437, allocations: 11.89 kB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1439, allocations: 76.09 kB / 441.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.1444, allocations: 393.8 kB / 441.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.1445, allocations: 45.69 kB / 441.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1446, allocations: 68.22 kB / 442 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1458, allocations: 0.6229 MB / 442.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/0.1459, allocations: 11.91 kB / 442.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.1459, allocations: 23.94 kB / 442.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.146, allocations: 16 kB / 442.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1471, allocations: 0.5294 MB / 443.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.1504, allocations: 2.169 MB / 445.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1519, allocations: 0.7032 MB / 446.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.1525, allocations: 347.1 kB / 446.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.1527, allocations: 93.53 kB / 446.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1527, allocations: 46.94 kB / 446.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.1528, allocations: 4 kB / 446.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008125/0.1609, allocations: 4.489 MB / 451 MB, free: 2.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.161, allocations: 218.2 kB / 451.3 MB, free: 2.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1614, allocations: 369.9 kB / 451.6 MB, free: 1.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.1615, allocations: 45.7 kB / 451.7 MB, free: 1.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1617, allocations: 265 kB / 451.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.162, allocations: 414 kB / 452.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1622, allocations: 179 kB / 452.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1624, allocations: 378.8 kB / 452.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.1631, allocations: 314.4 kB / 453.2 MB, free: 328 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2583/0.4214, allocations: 0.5106 MB / 453.7 MB, free: 53.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.4234, allocations: 0.8666 MB / 454.6 MB, free: 53.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4234, allocations: 3.75 kB / 454.6 MB, free: 53.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00248/0.4259, allocations: 1.004 MB / 455.6 MB, free: 53.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.426, allocations: 11 kB / 455.6 MB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.426, allocations: 6.531 kB / 455.6 MB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.183e-05/0.4261, allocations: 9.625 kB / 455.6 MB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4272, allocations: 291.8 kB / 455.9 MB, free: 53.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.71e-05/0.4273, allocations: 15.81 kB / 455.9 MB, free: 53.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.428, allocations: 48.72 kB / 455.9 MB, free: 53.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.4282, allocations: 44.89 kB / 456 MB, free: 53.12 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 (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.0004745/0.4286, allocations: 222.8 kB / 456.2 MB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.4291, allocations: 77.06 kB / 456.3 MB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.4296, allocations: 214.5 kB / 456.5 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.4297, allocations: 16.53 kB / 456.5 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.4297, allocations: 3.5 kB / 456.5 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.4297, allocations: 10.3 kB / 456.5 MB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.4338, allocations: 2.355 MB / 458.9 MB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.4339, allocations: 5.438 kB / 458.9 MB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4349, allocations: 251 kB / 459.1 MB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.4349, allocations: 6.594 kB / 459.1 MB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.435, allocations: 29.08 kB / 459.2 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/0.435, allocations: 13.59 kB / 459.2 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.435, allocations: 10.42 kB / 459.2 MB, free: 51.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.4376, allocations: 1.899 MB / 461.1 MB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.438, allocations: 193.1 kB / 461.3 MB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4381, allocations: 29.31 kB / 461.3 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.4388, allocations: 39.06 kB / 461.3 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.439, allocations: 89.34 kB / 461.4 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.439, allocations: 34.81 kB / 461.5 MB, free: 50.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.4393, allocations: 251.3 kB / 461.7 MB, free: 50.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4393, allocations: 3.375 kB / 461.7 MB, free: 50.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009382/0.4403, allocations: 196.1 kB / 461.9 MB, free: 50.11 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 (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.000248/0.4405, allocations: 139.1 kB / 462 MB, free: 49.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.4427, allocations: 0.8955 MB / 462.9 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4427, allocations: 0.875 kB / 462.9 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.4436, allocations: 0.4896 MB / 463.4 MB, free: 49.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.4449, allocations: 134.3 kB / 463.5 MB, free: 49.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.4487, allocations: 2.213 MB / 465.8 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.4492, allocations: 0.944 MB / 466.7 MB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.4497, allocations: 96.72 kB / 466.8 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4499, allocations: 62.47 kB / 466.9 MB, free: 47.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4499, allocations: 3.281 kB / 466.9 MB, free: 47.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01342/0.4633, allocations: 7.273 MB / 474.1 MB, free: 46.92 MB / 382.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)