Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009803, 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.001209/0.001209, allocations: 177.3 kB / 15.95 MB, free: 216 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.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4777/0.4777, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0006108/0.0006113, allocations: 16 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 57.53 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3518/0.5079, allocations: 22.34 MB / 456.3 MB, free: 33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.526, allocations: 6.176 MB / 462.4 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005628/0.5317, allocations: 104.1 kB / 462.5 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.5362, allocations: 1.065 MB / 463.6 MB, free: 32.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.5497, allocations: 3.368 MB / 467 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.5523, allocations: 436.8 kB / 467.4 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.5554, allocations: 0.9788 MB / 468.4 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.5582, allocations: 1.96 MB / 470.3 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008025/0.559, allocations: 452.7 kB / 470.8 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.5597, allocations: 0.5762 MB / 471.4 MB, free: 32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.5599, allocations: 56.38 kB / 471.4 MB, free: 32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009454/0.5608, allocations: 436 kB / 471.8 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.5613, allocations: 0.5813 MB / 472.4 MB, free: 31.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.5616, allocations: 311.7 kB / 472.7 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.5635, allocations: 1.915 MB / 474.6 MB, free: 31.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5635, allocations: 0 / 474.6 MB, free: 31.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.5635, allocations: 0 / 474.6 MB, free: 31.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.5636, allocations: 1.641 kB / 474.6 MB, free: 31.7 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003288/0.5669, allocations: 1.737 MB / 476.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.5669, allocations: 9.219 kB / 476.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5682, allocations: 280.8 kB / 476.7 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.5705, allocations: 1.288 MB / 477.9 MB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.5706, allocations: 96.66 kB / 478 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.5708, allocations: 120.4 kB / 478.2 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/0.577, allocations: 3.05 MB / 481.2 MB, free: 29.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-05/0.5772, allocations: 13.81 kB / 481.2 MB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.5773, allocations: 54.83 kB / 481.3 MB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007366/0.5781, allocations: 433.7 kB / 481.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005108/0.5832, allocations: 2.23 MB / 483.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.5996, allocations: 10.81 MB / 494.7 MB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/0.6044, allocations: 1.232 MB / 496 MB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005001/0.6094, allocations: 3.042 MB / 499 MB, free: 20.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.6095, allocations: 41.16 kB / 499.1 MB, free: 20.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.6095, allocations: 0 / 499.1 MB, free: 20.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01317/0.6226, allocations: 3.805 MB / 0.4911 GB, free: 19.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.6227, allocations: 88.86 kB / 0.4912 GB, free: 19.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.6249, allocations: 1.314 MB / 0.4924 GB, free: 18.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.6249, allocations: 36.77 kB / 0.4925 GB, free: 18.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.6257, allocations: 0.9478 MB / 0.4934 GB, free: 17.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.6258, allocations: 213.2 kB / 0.4936 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.6259, allocations: 29.38 kB / 0.4936 GB, free: 17.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.626, allocations: 370.9 kB / 0.494 GB, free: 17.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.6267, allocations: 403.2 kB / 0.4944 GB, free: 17.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.6279, allocations: 1.237 MB / 0.4956 GB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.6291, allocations: 0.6693 MB / 0.4962 GB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.6291, allocations: 9.5 kB / 0.4962 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003483/0.6326, allocations: 1.69 MB / 0.4979 GB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.6327, allocations: 22.64 kB / 0.4979 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/0.6327, allocations: 30.03 kB / 0.4979 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.633, allocations: 91.14 kB / 0.498 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6342, allocations: 355.7 kB / 0.4984 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.6358, allocations: 1.706 MB / 0.5 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.637, allocations: 74.02 kB / 0.5001 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.6371, allocations: 86.17 kB / 0.5002 GB, free: 13.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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.00124/0.6384, allocations: 0.642 MB / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.6386, allocations: 113.1 kB / 0.5009 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6399, allocations: 0.7107 MB / 0.5016 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6399, allocations: 9.266 kB / 0.5016 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6399, allocations: 1.188 kB / 0.5016 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6399, allocations: 4.016 kB / 0.5016 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.6436, allocations: 2.25 MB / 0.5038 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6437, allocations: 3.75 kB / 0.5038 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.644, allocations: 101.3 kB / 0.5039 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.6442, allocations: 67.5 kB / 0.504 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.6443, allocations: 15.31 kB / 0.504 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.6456, allocations: 1.775 MB / 0.5057 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.6456, allocations: 4.219 kB / 0.5057 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.6471, allocations: 1.304 MB / 0.507 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.6475, allocations: 229 kB / 0.5072 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6476, allocations: 15.53 kB / 0.5073 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.648, allocations: 29.66 kB / 0.5073 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.6481, allocations: 53.47 kB / 0.5073 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.6482, allocations: 22.66 kB / 0.5074 GB, free: 8.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.6493, allocations: 0.8526 MB / 0.5082 GB, free: 8.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6493, allocations: 0 / 0.5082 GB, free: 8.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001756/0.6511, allocations: 323 kB / 0.5085 GB, free: 7.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.6514, allocations: 154.6 kB / 0.5086 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.6533, allocations: 1.071 MB / 0.5097 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6533, allocations: 6.438 kB / 0.5097 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.6538, allocations: 402.4 kB / 0.5101 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.6546, allocations: 170.3 kB / 0.5102 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.6598, allocations: 3.385 MB / 0.5135 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.661, allocations: 1.488 MB / 0.515 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.662, allocations: 421.4 kB / 0.5154 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.6622, allocations: 74.44 kB / 0.5155 GB, free: 3.352 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6622, allocations: 6 kB / 0.5155 GB, free: 3.348 MB / 382.1 MB Notification: Performance of Templates: time 0.02328/0.6855, allocations: 10.35 MB / 0.5256 GB, free: 10.3 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) Environment - environmentSimulation: