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.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001391/0.00139, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.647/1.647, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3468/0.3468, allocations: 39.93 MB / 309.4 MB, free: 9.668 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.001319/0.001319, allocations: 71.89 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 56.88 MB / 434 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2643/0.3815, allocations: 30.05 MB / 464 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3976, allocations: 6.69 MB / 470.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007666/0.4053, allocations: 121.3 kB / 470.9 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.4085, allocations: 1.25 MB / 472.1 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.4131, allocations: 1.668 MB / 473.8 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4141, allocations: 403.3 kB / 474.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004048/0.4182, allocations: 3.661 MB / 477.8 MB, free: 31.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.421, allocations: 2.139 MB / 480 MB, free: 30.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.4231, allocations: 1.241 MB / 481.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.4256, allocations: 1.947 MB / 483.2 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.4263, allocations: 241.9 kB / 483.4 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.428, allocations: 0.8374 MB / 484.2 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.4294, allocations: 1.649 MB / 485.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.4312, allocations: 1.951 MB / 487.8 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007412/0.4386, allocations: 5.99 MB / 493.8 MB, free: 25.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.4386, allocations: 1.156 kB / 493.8 MB, free: 25.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4387, allocations: 0 / 493.8 MB, free: 25.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003095/0.439, allocations: 0 / 493.8 MB, free: 25.06 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.01253/0.4515, allocations: 4.154 MB / 498 MB, free: 22.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4516, allocations: 13.73 kB / 498 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.4642, allocations: 3.078 MB / 0.4893 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/0.4709, allocations: 1.975 MB / 0.4913 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.4713, allocations: 198 kB / 0.4914 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.4731, allocations: 257.6 kB / 0.4917 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.4942, allocations: 10.39 MB / 0.5018 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.4943, allocations: 26.23 kB / 0.5019 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.4948, allocations: 126.7 kB / 0.502 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.4989, allocations: 2.557 MB / 0.5045 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.5166, allocations: 9.456 MB / 0.5137 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05536/0.572, allocations: 32.46 MB / 0.5454 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006602/0.5786, allocations: 3.371 MB / 0.5487 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.5802, allocations: 1.09 MB / 0.5498 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.5816, allocations: 1.305 MB / 0.551 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5816, allocations: 51.7 kB / 0.5511 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 3.918e-06/0.5816, allocations: 0 / 0.5511 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02049/0.6021, allocations: 9.78 MB / 0.5606 GB, free: 5.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.6022, allocations: 90.42 kB / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.6055, allocations: 2.652 MB / 0.5633 GB, free: 2.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.6057, allocations: 49.69 kB / 0.5634 GB, free: 2.672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.6076, allocations: 2.751 MB / 0.5661 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/0.6083, allocations: 0.7054 MB / 0.5667 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6096, allocations: 0.9883 MB / 0.5677 GB, free: 14.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6097, allocations: 313 kB / 0.568 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.6123, allocations: 1.563 MB / 0.5695 GB, free: 12.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004744/0.6171, allocations: 4.481 MB / 0.5739 GB, free: 6.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009757/0.6269, allocations: 6.695 MB / 0.5804 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/0.6271, allocations: 28 kB / 0.5805 GB, free: 14.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.0131/0.6402, allocations: 5.945 MB / 0.5863 GB, free: 8.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.6403, allocations: 55.94 kB / 0.5863 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6405, allocations: 103.9 kB / 0.5864 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.6408, allocations: 180.9 kB / 0.5866 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/0.6444, allocations: 1.1 MB / 0.5877 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.6462, allocations: 1.789 MB / 0.5894 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/0.6498, allocations: 223.9 kB / 0.5896 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/0.6505, allocations: 300 kB / 0.5899 GB, free: 4.363 MB / 462.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.00381/0.6543, allocations: 2.028 MB / 0.5919 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.6547, allocations: 256.6 kB / 0.5921 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.6584, allocations: 2.542 MB / 0.5946 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.6584, allocations: 20 kB / 0.5946 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6585, allocations: 0 / 0.5946 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.6585, allocations: 3.984 kB / 0.5947 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.672, allocations: 8.174 MB / 0.6026 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.6721, allocations: 13 kB / 0.6026 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/0.6731, allocations: 247.6 kB / 0.6029 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.6733, allocations: 68.77 kB / 0.6029 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6734, allocations: 39.98 kB / 0.603 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.6748, allocations: 1.633 MB / 0.6046 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.6749, allocations: 15.94 kB / 0.6046 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.6802, allocations: 4.05 MB / 0.6086 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.6816, allocations: 0.4978 MB / 0.609 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.682, allocations: 47.98 kB / 0.6091 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.6829, allocations: 55.95 kB / 0.6091 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.6831, allocations: 124.6 kB / 0.6093 GB, free: 0 / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.6833, allocations: 67.97 kB / 0.6093 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003405/0.6867, allocations: 1.632 MB / 0.6109 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6867, allocations: 0 / 0.6109 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005293/0.692, allocations: 0.8202 MB / 0.6117 GB, free: 13.47 MB / 494.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.0007303/0.6928, allocations: 178.8 kB / 0.6119 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.7029, allocations: 5.548 MB / 0.6173 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.7029, allocations: 0 / 0.6173 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.7048, allocations: 1.249 MB / 0.6185 GB, free: 6.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.7071, allocations: 345.6 kB / 0.6189 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2166/0.9237, allocations: 10.79 MB / 0.6294 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005124/0.9289, allocations: 3.194 MB / 0.6325 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003865/0.9328, allocations: 1.734 MB / 0.6342 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.9333, allocations: 185.8 kB / 0.6344 GB, free: 146.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.9334, allocations: 0 / 0.6344 GB, free: 146.8 MB / 494.1 MB Notification: Performance of Templates: time 0.04857/0.9819, allocations: 23.29 MB / 0.6571 GB, free: 142.1 MB / 494.1 MB 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)