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.0008672/0.0008669, allocations: 89.97 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.008397/0.008397, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.703/1.703, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3991/0.3991, allocations: 40 MB / 310.7 MB, free: 9.609 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.0005807/0.0005807, allocations: 12.52 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1355, allocations: 57.97 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2409/0.3764, allocations: 29.11 MB / 466.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.3913, allocations: 6.722 MB / 473.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004931/0.3963, allocations: 116.1 kB / 473.4 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.3974, allocations: 456.2 kB / 473.8 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.4013, allocations: 1.667 MB / 475.5 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.4021, allocations: 399.8 kB / 475.9 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.4067, allocations: 5.105 MB / 481 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.4097, allocations: 2.461 MB / 483.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.4111, allocations: 0.9908 MB / 484.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.413, allocations: 1.767 MB / 486.2 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.4134, allocations: 136.9 kB / 486.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.415, allocations: 0.7691 MB / 487.1 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.4167, allocations: 1.536 MB / 488.6 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.4186, allocations: 1.841 MB / 490.5 MB, free: 27.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007179/0.4258, allocations: 5.767 MB / 496.2 MB, free: 25.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4258, allocations: 0 / 496.2 MB, free: 25.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4259, allocations: 0 / 496.2 MB, free: 25.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00023/0.4261, allocations: 1.094 kB / 496.2 MB, free: 25.62 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.008092/0.4342, allocations: 3.39 MB / 499.6 MB, free: 23.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4343, allocations: 9.562 kB / 499.6 MB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.4461, allocations: 3.171 MB / 0.491 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.4513, allocations: 1.975 MB / 0.4929 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.4515, allocations: 197.7 kB / 0.4931 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.4528, allocations: 260.3 kB / 0.4934 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.4724, allocations: 10.39 MB / 0.5035 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.4726, allocations: 29.8 kB / 0.5036 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007702/0.4734, allocations: 124.2 kB / 0.5037 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004463/0.4779, allocations: 2.557 MB / 0.5062 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/0.4965, allocations: 9.467 MB / 0.5154 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05795/0.5545, allocations: 32.5 MB / 0.5472 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006811/0.5614, allocations: 3.376 MB / 0.5505 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.5635, allocations: 1.084 MB / 0.5515 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.5649, allocations: 1.309 MB / 0.5528 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.565, allocations: 47.86 kB / 0.5528 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 6.482e-06/0.565, allocations: 4 kB / 0.5528 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.0247/0.5897, allocations: 9.779 MB / 0.5624 GB, free: 5.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.5898, allocations: 94.42 kB / 0.5625 GB, free: 5.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006492/0.5963, allocations: 2.656 MB / 0.5651 GB, free: 2.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.5967, allocations: 53.73 kB / 0.5651 GB, free: 2.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.599, allocations: 2.743 MB / 0.5678 GB, free: 132 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/0.6003, allocations: 0.7093 MB / 0.5685 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6016, allocations: 445 kB / 0.5689 GB, free: 14.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6017, allocations: 305.1 kB / 0.5692 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.6048, allocations: 1.567 MB / 0.5707 GB, free: 13.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005853/0.6107, allocations: 4.481 MB / 0.5751 GB, free: 7.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009733/0.6205, allocations: 6.691 MB / 0.5817 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.6207, allocations: 28 kB / 0.5817 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01317/0.6338, allocations: 5.949 MB / 0.5875 GB, free: 9.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.634, allocations: 59.88 kB / 0.5876 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/0.6342, allocations: 100 kB / 0.5876 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.6347, allocations: 176.8 kB / 0.5878 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/0.6385, allocations: 1.1 MB / 0.5889 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6403, allocations: 1.687 MB / 0.5905 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/0.6437, allocations: 211.9 kB / 0.5907 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008777/0.6446, allocations: 308 kB / 0.591 GB, free: 5.293 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.005039/0.6497, allocations: 2.04 MB / 0.593 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/0.6503, allocations: 248.7 kB / 0.5933 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.6554, allocations: 2.534 MB / 0.5957 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.6554, allocations: 27.98 kB / 0.5958 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6554, allocations: 3.938 kB / 0.5958 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.6555, allocations: 7.969 kB / 0.5958 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.6732, allocations: 8.159 MB / 0.6037 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.6733, allocations: 12 kB / 0.6038 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6744, allocations: 248.5 kB / 0.604 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.6747, allocations: 64.77 kB / 0.6041 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.6749, allocations: 43.92 kB / 0.6041 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.6763, allocations: 1.516 MB / 0.6056 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/0.6764, allocations: 23.81 kB / 0.6056 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/0.6826, allocations: 4.047 MB / 0.6095 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.6841, allocations: 0.5017 MB / 0.61 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/0.6848, allocations: 43.97 kB / 0.6101 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.6861, allocations: 55.95 kB / 0.6101 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6863, allocations: 120.7 kB / 0.6102 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.6865, allocations: 63.98 kB / 0.6103 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003588/0.6901, allocations: 1.636 MB / 0.6119 GB, free: 15.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6901, allocations: 0 / 0.6119 GB, free: 15.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005033/0.6951, allocations: 0.8125 MB / 0.6127 GB, free: 14.54 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.0005534/0.6957, allocations: 182.8 kB / 0.6129 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006361/0.7021, allocations: 3.897 MB / 0.6167 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.7021, allocations: 8.125 kB / 0.6167 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.7039, allocations: 1.225 MB / 0.6179 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/0.7097, allocations: 347.4 kB / 0.6182 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2853/0.995, allocations: 10.85 MB / 0.6288 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/0.9989, allocations: 3.199 MB / 0.6319 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003875/1.003, allocations: 1.738 MB / 0.6336 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/1.003, allocations: 188.4 kB / 0.6338 GB, free: 124.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/1.003, allocations: 0 / 0.6338 GB, free: 124.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0472/1.051, allocations: 22.35 MB / 0.6556 GB, free: 120.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: