Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00124/0.00124, 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.001322/0.001322, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3054/0.3054, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.002556/0.002556, allocations: 67.06 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1304, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2129/0.3433, allocations: 30.05 MB / 461.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3583, allocations: 6.696 MB / 468 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006171/0.3645, allocations: 121.5 kB / 468.1 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.3671, allocations: 1.249 MB / 469.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.3709, allocations: 1.668 MB / 471 MB, free: 33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.3718, allocations: 405.1 kB / 471.4 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003683/0.3755, allocations: 3.664 MB / 475 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.3773, allocations: 2.127 MB / 477.2 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.3785, allocations: 1.245 MB / 478.4 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3801, allocations: 1.946 MB / 480.4 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.3804, allocations: 245.3 kB / 480.6 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.3817, allocations: 0.841 MB / 481.4 MB, free: 29.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009441/0.3826, allocations: 1.644 MB / 483.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.3838, allocations: 1.958 MB / 485 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.388, allocations: 5.993 MB / 491 MB, free: 25.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.388, allocations: 0 / 491 MB, free: 25.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.388, allocations: 4.828 kB / 491 MB, free: 25.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.3881, allocations: 3.938 kB / 491 MB, free: 25.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.006457/0.3946, allocations: 4.154 MB / 495.2 MB, free: 23.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3946, allocations: 14.17 kB / 495.2 MB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.4065, allocations: 3.068 MB / 498.3 MB, free: 23.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006537/0.4131, allocations: 1.975 MB / 0.4885 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.4134, allocations: 191.5 kB / 0.4887 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/0.415, allocations: 255.7 kB / 0.489 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.4354, allocations: 10.4 MB / 0.4991 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.917e-05/0.4356, allocations: 22.62 kB / 0.4991 GB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.436, allocations: 123.2 kB / 0.4993 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/0.4396, allocations: 2.553 MB / 0.5017 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.4541, allocations: 9.454 MB / 0.511 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04032/0.4945, allocations: 32.47 MB / 0.5427 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006084/0.5006, allocations: 3.364 MB / 0.546 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.502, allocations: 1.078 MB / 0.547 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5031, allocations: 1.305 MB / 0.5483 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5032, allocations: 55.81 kB / 0.5484 GB, free: 2.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 5.14e-06/0.5032, allocations: 0 / 0.5484 GB, free: 2.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.0183/0.5215, allocations: 9.783 MB / 0.5579 GB, free: 8.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5216, allocations: 90.42 kB / 0.558 GB, free: 8.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.5245, allocations: 2.656 MB / 0.5606 GB, free: 5.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.5246, allocations: 49.7 kB / 0.5606 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.5261, allocations: 2.744 MB / 0.5633 GB, free: 3.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.5267, allocations: 0.7164 MB / 0.564 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.5278, allocations: 0.9818 MB / 0.565 GB, free: 1.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5279, allocations: 309.1 kB / 0.5653 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.53, allocations: 1.563 MB / 0.5668 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.5341, allocations: 4.485 MB / 0.5712 GB, free: 9.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007944/0.542, allocations: 6.699 MB / 0.5777 GB, free: 1.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.262e-05/0.5422, allocations: 31.94 kB / 0.5777 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01044/0.5526, allocations: 5.944 MB / 0.5836 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.5527, allocations: 51.94 kB / 0.5836 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.5529, allocations: 104 kB / 0.5837 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.5532, allocations: 181.4 kB / 0.5839 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.5566, allocations: 1.096 MB / 0.5849 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.5583, allocations: 1.804 MB / 0.5867 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/0.562, allocations: 210.5 kB / 0.5869 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00083/0.5629, allocations: 304 kB / 0.5872 GB, free: 7.617 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.004502/0.5674, allocations: 2.034 MB / 0.5892 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.5679, allocations: 248.7 kB / 0.5894 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.5717, allocations: 2.544 MB / 0.5919 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.5718, allocations: 20 kB / 0.5919 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5718, allocations: 4 kB / 0.5919 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.5718, allocations: 11.95 kB / 0.5919 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.5833, allocations: 8.166 MB / 0.5999 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.5834, allocations: 8 kB / 0.5999 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/0.5843, allocations: 255.6 kB / 0.6002 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.5844, allocations: 56.78 kB / 0.6002 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.5845, allocations: 43.98 kB / 0.6003 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.5859, allocations: 1.629 MB / 0.6019 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/0.5859, allocations: 22.06 kB / 0.6019 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/0.5908, allocations: 4.053 MB / 0.6058 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009606/0.5918, allocations: 0.4939 MB / 0.6063 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.592, allocations: 39.98 kB / 0.6063 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.5928, allocations: 58.45 kB / 0.6064 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.593, allocations: 128.6 kB / 0.6065 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.5931, allocations: 63.98 kB / 0.6066 GB, free: 3.246 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002206/0.5953, allocations: 1.632 MB / 0.6082 GB, free: 1.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5953, allocations: 0 / 0.6082 GB, free: 1.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004238/0.5996, allocations: 0.8192 MB / 0.609 GB, free: 0.7891 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.0004343/0.6, allocations: 178.1 kB / 0.6092 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00888/0.6089, allocations: 5.549 MB / 0.6146 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.609, allocations: 448 / 0.6146 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.6106, allocations: 1.247 MB / 0.6158 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.6128, allocations: 346.6 kB / 0.6161 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2016/0.8145, allocations: 10.79 MB / 0.6267 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003875/0.8184, allocations: 3.201 MB / 0.6298 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003855/0.8223, allocations: 1.73 MB / 0.6315 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.8228, allocations: 194 kB / 0.6317 GB, free: 149.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/0.8228, allocations: 0 / 0.6317 GB, free: 149.5 MB / 494.1 MB Notification: Performance of Templates: time 0.04909/0.8719, allocations: 23.28 MB / 0.6544 GB, free: 144.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)