Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 108 kB / 15.6 MB, free: 132 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.001802/0.001803, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3704/0.3704, allocations: 39.94 MB / 309.7 MB, free: 9.25 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.2. 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.002243/0.002243, allocations: 71.89 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1676, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01967/0.1873, allocations: 12.66 MB / 447.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1984, allocations: 3.895 MB / 451 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.2017, allocations: 63.88 kB / 451.1 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.2055, allocations: 1.327 MB / 452.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2341/0.4397, allocations: 1.78 MB / 454.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.4413, allocations: 422.5 kB / 454.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.4463, allocations: 3.65 MB / 458.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.4487, allocations: 2.045 MB / 460.3 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4509, allocations: 1.234 MB / 461.6 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.4532, allocations: 1.777 MB / 463.3 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006863/0.4539, allocations: 245.8 kB / 463.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.4557, allocations: 0.8206 MB / 464.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.4571, allocations: 1.619 MB / 466 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.4588, allocations: 1.942 MB / 468 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.4637, allocations: 5.96 MB / 473.9 MB, free: 32.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4638, allocations: 4 kB / 473.9 MB, free: 32.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4638, allocations: 0 / 473.9 MB, free: 32.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001278/0.4639, allocations: 0 / 473.9 MB, free: 32.81 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006339/0.4703, allocations: 4.155 MB / 478.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4703, allocations: 12.55 kB / 478.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4816, allocations: 3.068 MB / 481.1 MB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006077/0.4877, allocations: 1.977 MB / 483.1 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.488, allocations: 200.8 kB / 483.3 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008235/0.4888, allocations: 250.5 kB / 483.6 MB, free: 29.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.5083, allocations: 10.39 MB / 494 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.5084, allocations: 21.66 kB / 494 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/0.5089, allocations: 119.2 kB / 494.1 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006004/0.5149, allocations: 2.557 MB / 496.7 MB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/0.5389, allocations: 9.457 MB / 0.4943 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04937/0.5884, allocations: 32.47 MB / 0.526 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.5949, allocations: 3.369 MB / 0.5293 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.5966, allocations: 1.081 MB / 0.5303 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.5979, allocations: 1.306 MB / 0.5316 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.5979, allocations: 59.81 kB / 0.5316 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=187): time 6.302e-06/0.5979, allocations: 4 kB / 0.5316 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=193): time 0.02188/0.6198, allocations: 9.768 MB / 0.5412 GB, free: 6.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.6199, allocations: 94.41 kB / 0.5413 GB, free: 6.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.6239, allocations: 2.659 MB / 0.5439 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.624, allocations: 51.38 kB / 0.5439 GB, free: 3.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.6259, allocations: 2.744 MB / 0.5466 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/0.6266, allocations: 0.7172 MB / 0.5473 GB, free: 400 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.6278, allocations: 0.9765 MB / 0.5483 GB, free: 15.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.6279, allocations: 312.1 kB / 0.5486 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.6302, allocations: 1.563 MB / 0.5501 GB, free: 13.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.6348, allocations: 4.476 MB / 0.5544 GB, free: 7.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/0.6427, allocations: 6.701 MB / 0.561 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.538e-05/0.6428, allocations: 28 kB / 0.561 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009872/0.6527, allocations: 5.955 MB / 0.5668 GB, free: 9.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.6528, allocations: 48 kB / 0.5669 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.6529, allocations: 107.9 kB / 0.567 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.6533, allocations: 176.8 kB / 0.5672 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.6564, allocations: 1.1 MB / 0.5682 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.6583, allocations: 1.804 MB / 0.57 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.6616, allocations: 208 kB / 0.5702 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004381/0.662, allocations: 303.5 kB / 0.5705 GB, free: 5.633 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003874/0.6659, allocations: 2.028 MB / 0.5725 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.6664, allocations: 256.8 kB / 0.5727 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.6703, allocations: 2.536 MB / 0.5752 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.6703, allocations: 20 kB / 0.5752 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.6703, allocations: 4 kB / 0.5752 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.6703, allocations: 11.91 kB / 0.5752 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.6852, allocations: 8.157 MB / 0.5832 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.6853, allocations: 16.03 kB / 0.5832 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.6864, allocations: 255.6 kB / 0.5834 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.6866, allocations: 56.83 kB / 0.5835 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.6867, allocations: 47.91 kB / 0.5835 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.6885, allocations: 1.634 MB / 0.5851 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.6885, allocations: 15.94 kB / 0.5851 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.6943, allocations: 4.047 MB / 0.5891 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.6957, allocations: 0.5017 MB / 0.5896 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.696, allocations: 35.98 kB / 0.5896 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.6968, allocations: 59.7 kB / 0.5897 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6971, allocations: 128.6 kB / 0.5898 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.6972, allocations: 63.98 kB / 0.5899 GB, free: 1.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003101/0.7003, allocations: 1.636 MB / 0.5915 GB, free: 15.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7003, allocations: 0 / 0.5915 GB, free: 15.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004558/0.7049, allocations: 0.8202 MB / 0.5923 GB, free: 14.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000484/0.7054, allocations: 178.5 kB / 0.5924 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.7155, allocations: 5.556 MB / 0.5979 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.7156, allocations: 4 kB / 0.5979 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.7175, allocations: 1.237 MB / 0.5991 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.7197, allocations: 342.4 kB / 0.5994 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.7364, allocations: 8.725 MB / 0.6079 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00344/0.7399, allocations: 3.195 MB / 0.611 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004201/0.7441, allocations: 1.734 MB / 0.6127 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.7447, allocations: 191.4 kB / 0.6129 GB, free: 9.477 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7447, allocations: 0 / 0.6129 GB, free: 9.477 MB / 494.1 MB Notification: Performance of Templates: time 0.05172/0.7964, allocations: 23.3 MB / 0.6357 GB, free: 2.277 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)