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.0007955/0.0007954, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005387/0.005387, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2952/0.2952, allocations: 38.05 MB / 308.8 MB, free: 10.35 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.0005955/0.0005957, allocations: 20 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2458/0.3782, allocations: 29.11 MB / 463.7 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3937, allocations: 6.74 MB / 470.4 MB, free: 32.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006279/0.4, allocations: 118 kB / 470.5 MB, free: 32.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.402, allocations: 442.6 kB / 471 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004805/0.4069, allocations: 1.673 MB / 472.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4079, allocations: 389.7 kB / 473 MB, free: 32.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005121/0.4131, allocations: 5.114 MB / 478.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.416, allocations: 2.46 MB / 480.6 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.4174, allocations: 0.9889 MB / 481.6 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.4192, allocations: 1.764 MB / 483.3 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.4196, allocations: 134.6 kB / 483.5 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.421, allocations: 0.7641 MB / 484.2 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.4221, allocations: 1.546 MB / 485.8 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.4233, allocations: 1.84 MB / 487.6 MB, free: 27.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005327/0.4287, allocations: 5.769 MB / 493.4 MB, free: 25.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4287, allocations: 7.875 kB / 493.4 MB, free: 25.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4287, allocations: 0 / 493.4 MB, free: 25.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002694/0.429, allocations: 0 / 493.4 MB, free: 25.98 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.008202/0.4372, allocations: 3.392 MB / 496.8 MB, free: 23.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4373, allocations: 8.188 kB / 496.8 MB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.4494, allocations: 3.165 MB / 500 MB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/0.4545, allocations: 1.978 MB / 0.4902 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.4547, allocations: 191.2 kB / 0.4904 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.4561, allocations: 256.2 kB / 0.4906 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.4775, allocations: 10.4 MB / 0.5008 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.4777, allocations: 27.41 kB / 0.5008 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.4781, allocations: 122.7 kB / 0.5009 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004293/0.4824, allocations: 2.552 MB / 0.5034 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.5006, allocations: 9.471 MB / 0.5126 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04976/0.5504, allocations: 32.5 MB / 0.5444 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/0.5575, allocations: 3.372 MB / 0.5477 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.5598, allocations: 1.082 MB / 0.5487 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.5614, allocations: 1.309 MB / 0.55 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.5614, allocations: 47.81 kB / 0.5501 GB, free: 2.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 8.255e-06/0.5615, allocations: 0 / 0.5501 GB, free: 2.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02386/0.5853, allocations: 9.786 MB / 0.5596 GB, free: 8.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.5854, allocations: 94.42 kB / 0.5597 GB, free: 8.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005194/0.5906, allocations: 2.652 MB / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.5908, allocations: 53.7 kB / 0.5623 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/0.5929, allocations: 2.744 MB / 0.565 GB, free: 2.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008234/0.5938, allocations: 0.7133 MB / 0.5657 GB, free: 2.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008611/0.5946, allocations: 443.9 kB / 0.5661 GB, free: 1.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5948, allocations: 305.1 kB / 0.5664 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.5974, allocations: 1.569 MB / 0.568 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/0.6019, allocations: 4.477 MB / 0.5723 GB, free: 9.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/0.6099, allocations: 6.699 MB / 0.5789 GB, free: 1.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.61, allocations: 28 kB / 0.5789 GB, free: 1.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01034/0.6204, allocations: 5.952 MB / 0.5847 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6205, allocations: 51.94 kB / 0.5848 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/0.6207, allocations: 104 kB / 0.5849 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.621, allocations: 176.8 kB / 0.585 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.6243, allocations: 1.096 MB / 0.5861 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.6261, allocations: 1.685 MB / 0.5878 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.6294, allocations: 212 kB / 0.588 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005549/0.63, allocations: 300.2 kB / 0.5882 GB, free: 8.012 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.004647/0.6346, allocations: 2.039 MB / 0.5902 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/0.6352, allocations: 252.7 kB / 0.5905 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.6396, allocations: 2.53 MB / 0.5929 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/0.6397, allocations: 22.27 kB / 0.593 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.6397, allocations: 15.88 kB / 0.593 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.6397, allocations: 7.969 kB / 0.593 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.6553, allocations: 8.166 MB / 0.601 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.6554, allocations: 11.98 kB / 0.601 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/0.6564, allocations: 251.6 kB / 0.6012 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.6566, allocations: 61.48 kB / 0.6013 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6567, allocations: 38.73 kB / 0.6013 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.6579, allocations: 1.513 MB / 0.6028 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.658, allocations: 23.94 kB / 0.6028 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.6632, allocations: 4.05 MB / 0.6068 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6644, allocations: 0.4978 MB / 0.6072 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/0.6649, allocations: 43.5 kB / 0.6073 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.666, allocations: 55.95 kB / 0.6073 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.6663, allocations: 120.6 kB / 0.6075 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6664, allocations: 70.88 kB / 0.6075 GB, free: 3.754 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003223/0.6696, allocations: 1.632 MB / 0.6091 GB, free: 2.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6696, allocations: 4 kB / 0.6091 GB, free: 2.109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004721/0.6744, allocations: 0.8164 MB / 0.6099 GB, free: 1.293 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.0005931/0.675, allocations: 177.8 kB / 0.6101 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007081/0.6821, allocations: 3.891 MB / 0.6139 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.6821, allocations: 0 / 0.6139 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.684, allocations: 1.248 MB / 0.6151 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/0.6896, allocations: 340.1 kB / 0.6154 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.7096, allocations: 10.86 MB / 0.626 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2578/0.9674, allocations: 3.187 MB / 0.6292 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004544/0.972, allocations: 1.739 MB / 0.6308 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.9725, allocations: 187.8 kB / 0.631 GB, free: 124.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.9725, allocations: 0 / 0.631 GB, free: 124.1 MB / 494.1 MB Notification: Performance of Templates: time 0.0473/1.02, allocations: 22.36 MB / 0.6529 GB, free: 120.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: