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.001136/0.001136, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001317/0.001317, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.2932/0.2932, allocations: 40 MB / 310.4 MB, free: 9.703 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.0005338/0.0005338, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1074, allocations: 57.96 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2049/0.3123, allocations: 25.68 MB / 462.4 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3239, allocations: 6.598 MB / 469 MB, free: 33.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.3289, allocations: 116.3 kB / 469.2 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.3327, allocations: 1.299 MB / 470.5 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3427, allocations: 3.942 MB / 474.4 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.344, allocations: 364.3 kB / 474.7 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.3473, allocations: 1.993 MB / 476.7 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.3505, allocations: 2.264 MB / 479 MB, free: 31.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.3519, allocations: 0.8887 MB / 479.9 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.3535, allocations: 1.254 MB / 481.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.3539, allocations: 138.1 kB / 481.3 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3551, allocations: 0.6341 MB / 481.9 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009705/0.3561, allocations: 1.394 MB / 483.3 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.3567, allocations: 0.7561 MB / 484.1 MB, free: 29.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.3612, allocations: 4.735 MB / 488.8 MB, free: 28.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3613, allocations: 0 / 488.8 MB, free: 28.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3613, allocations: 0 / 488.8 MB, free: 28.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003229/0.3616, allocations: 0 / 488.8 MB, free: 28.96 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.006044/0.3677, allocations: 3.461 MB / 492.3 MB, free: 26.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3677, allocations: 10.05 kB / 492.3 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.3805, allocations: 3.723 MB / 496 MB, free: 26.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/0.3859, allocations: 2.148 MB / 498.1 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.3862, allocations: 193.3 kB / 498.3 MB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.3877, allocations: 261.7 kB / 498.6 MB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/0.413, allocations: 10.43 MB / 0.4971 GB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.4132, allocations: 22.28 kB / 0.4971 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.4144, allocations: 123.9 kB / 0.4972 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006672/0.4211, allocations: 2.555 MB / 0.4997 GB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.4461, allocations: 9.504 MB / 0.509 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06256/0.5087, allocations: 32.56 MB / 0.5408 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009117/0.5179, allocations: 3.367 MB / 0.5441 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.5196, allocations: 1.309 MB / 0.5454 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.394e-05/0.5197, allocations: 47.86 kB / 0.5454 GB, free: 6.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 7.114e-06/0.5198, allocations: 0 / 0.5454 GB, free: 6.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.03211/0.5519, allocations: 10.33 MB / 0.5555 GB, free: 11.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.552, allocations: 94.42 kB / 0.5556 GB, free: 11.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006473/0.5585, allocations: 2.763 MB / 0.5583 GB, free: 9.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.5589, allocations: 49.7 kB / 0.5583 GB, free: 8.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/0.5617, allocations: 2.743 MB / 0.561 GB, free: 6.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.5629, allocations: 0.7133 MB / 0.5617 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.5634, allocations: 96 kB / 0.5618 GB, free: 5.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000635/0.564, allocations: 0.5207 MB / 0.5623 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/0.5683, allocations: 1.536 MB / 0.5638 GB, free: 3.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007135/0.5755, allocations: 4.434 MB / 0.5681 GB, free: 13.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006353/0.5819, allocations: 2.628 MB / 0.5707 GB, free: 10.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.5821, allocations: 32 kB / 0.5707 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01598/0.5981, allocations: 5.901 MB / 0.5765 GB, free: 4.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.5983, allocations: 52 kB / 0.5766 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/0.5985, allocations: 100.8 kB / 0.5766 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.599, allocations: 200.8 kB / 0.5768 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005558/0.6046, allocations: 1.084 MB / 0.5779 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.607, allocations: 1.706 MB / 0.5796 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.6119, allocations: 215.9 kB / 0.5798 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008403/0.6128, allocations: 292 kB / 0.58 GB, free: 1.078 MB / 446.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 (605): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005267/0.618, allocations: 2.024 MB / 0.582 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000687/0.6187, allocations: 268.6 kB / 0.5823 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/0.6248, allocations: 2.526 MB / 0.5847 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.147e-05/0.6249, allocations: 27.92 kB / 0.5848 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.6249, allocations: 0 / 0.5848 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.6249, allocations: 7.969 kB / 0.5848 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/0.6475, allocations: 8.153 MB / 0.5927 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/0.6475, allocations: 12.03 kB / 0.5928 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.6492, allocations: 255.6 kB / 0.593 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.6495, allocations: 56.83 kB / 0.5931 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.6497, allocations: 43.98 kB / 0.5931 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.6516, allocations: 1.527 MB / 0.5946 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/0.6517, allocations: 15.88 kB / 0.5946 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.6601, allocations: 4.876 MB / 0.5994 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.6619, allocations: 0.5056 MB / 0.5999 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/0.6624, allocations: 39.98 kB / 0.5999 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6635, allocations: 60.02 kB / 0.6 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.6637, allocations: 128.6 kB / 0.6001 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.6638, allocations: 60 kB / 0.6001 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002912/0.6667, allocations: 1.702 MB / 0.6018 GB, free: 9.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6668, allocations: 0 / 0.6018 GB, free: 9.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004009/0.6708, allocations: 0.8359 MB / 0.6026 GB, free: 9.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005433/0.6713, allocations: 194.8 kB / 0.6028 GB, free: 8.949 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006008/0.6774, allocations: 3.857 MB / 0.6066 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6774, allocations: 0 / 0.6066 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.6792, allocations: 1.241 MB / 0.6078 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.6807, allocations: 314.1 kB / 0.6081 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.6965, allocations: 10.42 MB / 0.6182 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/0.7009, allocations: 3.29 MB / 0.6215 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004108/0.705, allocations: 1.727 MB / 0.6231 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/0.7057, allocations: 187.4 kB / 0.6233 GB, free: 3.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7057, allocations: 0 / 0.6233 GB, free: 3.73 MB / 494.1 MB Notification: Performance of Templates: time 0.2243/0.93, allocations: 22.46 MB / 0.6453 GB, free: 141 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: