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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002198/0.002198, allocations: 192.1 kB / 16.14 MB, free: 6.703 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.648/1.648, allocations: 205.1 MB / 222 MB, free: 4.961 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.3505/0.3505, allocations: 39.94 MB / 309.3 MB, free: 9.344 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.001642/0.001642, allocations: 64.47 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1222, allocations: 56.88 MB / 433.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.262/0.3842, allocations: 30.06 MB / 463.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3993, allocations: 6.783 MB / 470.6 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008477/0.4078, allocations: 123.6 kB / 470.8 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.4108, allocations: 1.284 MB / 472 MB, free: 32.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.4152, allocations: 1.664 MB / 473.7 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4163, allocations: 391.6 kB / 474.1 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004719/0.4211, allocations: 5.113 MB / 479.2 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.4231, allocations: 2.006 MB / 481.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.4244, allocations: 1.074 MB / 482.3 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.4267, allocations: 1.865 MB / 484.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.4275, allocations: 171.2 kB / 484.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.4296, allocations: 0.8097 MB / 485.1 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.4315, allocations: 1.577 MB / 486.7 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.4332, allocations: 1.875 MB / 488.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008246/0.4415, allocations: 5.895 MB / 494.5 MB, free: 24.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4415, allocations: 0 / 494.5 MB, free: 24.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4415, allocations: 5.062 kB / 494.5 MB, free: 24.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000283/0.4418, allocations: 0 / 494.5 MB, free: 24.73 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.01185/0.4537, allocations: 4.142 MB / 498.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4537, allocations: 13.47 kB / 498.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.4653, allocations: 3.07 MB / 0.4899 GB, free: 21.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/0.4712, allocations: 1.987 MB / 0.4919 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.4716, allocations: 194.3 kB / 0.4921 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.4731, allocations: 261.2 kB / 0.4923 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.494, allocations: 10.4 MB / 0.5025 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-05/0.4941, allocations: 25.88 kB / 0.5025 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.4945, allocations: 116 kB / 0.5026 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004173/0.4987, allocations: 2.559 MB / 0.5051 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.5171, allocations: 9.454 MB / 0.5143 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05275/0.5699, allocations: 32.46 MB / 0.546 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006624/0.5766, allocations: 3.379 MB / 0.5493 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.5785, allocations: 1.086 MB / 0.5504 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.5799, allocations: 1.305 MB / 0.5517 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.5799, allocations: 51.81 kB / 0.5517 GB, free: 14.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.588e-06/0.5799, allocations: 4 kB / 0.5517 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02217/0.6021, allocations: 9.776 MB / 0.5613 GB, free: 4.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.6023, allocations: 94.42 kB / 0.5614 GB, free: 4.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/0.6063, allocations: 2.652 MB / 0.564 GB, free: 1.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.6065, allocations: 49.7 kB / 0.564 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/0.6087, allocations: 2.747 MB / 0.5667 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008981/0.6096, allocations: 0.7172 MB / 0.5674 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/0.6109, allocations: 0.9844 MB / 0.5683 GB, free: 13.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6111, allocations: 305.1 kB / 0.5686 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.6134, allocations: 1.567 MB / 0.5702 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/0.618, allocations: 4.481 MB / 0.5745 GB, free: 5.441 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/0.6263, allocations: 6.687 MB / 0.5811 GB, free: 13.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-05/0.6264, allocations: 35.94 kB / 0.5811 GB, free: 13.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01192/0.6383, allocations: 5.949 MB / 0.5869 GB, free: 7.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.6385, allocations: 51.94 kB / 0.587 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.6386, allocations: 108 kB / 0.5871 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.639, allocations: 176.8 kB / 0.5872 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/0.6424, allocations: 1.1 MB / 0.5883 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.6441, allocations: 1.679 MB / 0.59 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/0.6476, allocations: 219.8 kB / 0.5902 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000747/0.6483, allocations: 296 kB / 0.5904 GB, free: 3.574 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.004962/0.6533, allocations: 2.047 MB / 0.5924 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.6538, allocations: 248.7 kB / 0.5927 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.6583, allocations: 2.534 MB / 0.5952 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.6584, allocations: 20 kB / 0.5952 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.6584, allocations: 3.938 kB / 0.5952 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6584, allocations: 11.97 kB / 0.5952 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.6741, allocations: 8.155 MB / 0.6032 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.6741, allocations: 12 kB / 0.6032 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000995/0.6751, allocations: 247.6 kB / 0.6034 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.6753, allocations: 60.89 kB / 0.6035 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.6755, allocations: 44.5 kB / 0.6035 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.6769, allocations: 1.515 MB / 0.605 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.677, allocations: 19.86 kB / 0.605 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.6823, allocations: 4.058 MB / 0.609 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.6837, allocations: 0.4978 MB / 0.6094 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.6841, allocations: 39.98 kB / 0.6095 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.6849, allocations: 59.89 kB / 0.6095 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.6852, allocations: 124.6 kB / 0.6097 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6853, allocations: 67.94 kB / 0.6097 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002578/0.6879, allocations: 1.636 MB / 0.6113 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6879, allocations: 0 / 0.6113 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004278/0.6922, allocations: 0.8241 MB / 0.6121 GB, free: 12.8 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.0004181/0.6926, allocations: 170.9 kB / 0.6123 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006957/0.6996, allocations: 3.889 MB / 0.6161 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.6996, allocations: 0 / 0.6161 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.7013, allocations: 1.241 MB / 0.6173 GB, free: 7.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.7035, allocations: 332.7 kB / 0.6176 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2498/0.9534, allocations: 10.79 MB / 0.6282 GB, free: 122.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/0.9574, allocations: 3.2 MB / 0.6313 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004142/0.9615, allocations: 1.734 MB / 0.633 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.962, allocations: 190.5 kB / 0.6332 GB, free: 122.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.962, allocations: 7.031 kB / 0.6332 GB, free: 122.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05212/1.014, allocations: 22.54 MB / 0.6552 GB, free: 118.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)