Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001131/0.001131, allocations: 189.5 kB / 16.13 MB, free: 6.66 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.766/1.766, allocations: 205.1 MB / 222 MB, free: 4.762 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.3955/0.3955, allocations: 39.93 MB / 309.3 MB, free: 9.363 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.001428/0.001428, allocations: 68.28 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1677, allocations: 56.88 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3036/0.4713, allocations: 26.15 MB / 460 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.4908, allocations: 6.376 MB / 466.3 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009421/0.5003, allocations: 107.6 kB / 466.4 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.5033, allocations: 1.376 MB / 467.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.5069, allocations: 0.8542 MB / 468.7 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.5083, allocations: 478 kB / 469.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003831/0.5122, allocations: 2.322 MB / 471.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.5146, allocations: 1.64 MB / 473.1 MB, free: 33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.5157, allocations: 0.612 MB / 473.7 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.5168, allocations: 0.9452 MB / 474.7 MB, free: 32.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.5169, allocations: 102.8 kB / 474.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5181, allocations: 0.6061 MB / 475.4 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.5187, allocations: 0.7084 MB / 476.1 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000633/0.5194, allocations: 0.7985 MB / 476.9 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.5212, allocations: 2.423 MB / 479.3 MB, free: 30.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5212, allocations: 3.516 kB / 479.3 MB, free: 30.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5212, allocations: 0 / 479.3 MB, free: 30.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5213, allocations: 3.938 kB / 479.3 MB, free: 30.8 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.003134/0.5244, allocations: 2.013 MB / 481.3 MB, free: 29.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5245, allocations: 8.812 kB / 481.3 MB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5256, allocations: 265.2 kB / 481.6 MB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.5273, allocations: 1.108 MB / 482.7 MB, free: 28.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.5273, allocations: 93.44 kB / 482.8 MB, free: 28.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5275, allocations: 126.8 kB / 482.9 MB, free: 28.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.5322, allocations: 2.985 MB / 485.9 MB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.5322, allocations: 15.41 kB / 485.9 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5323, allocations: 55.48 kB / 486 MB, free: 27.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/0.5329, allocations: 433 kB / 486.4 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003942/0.5369, allocations: 2.169 MB / 488.6 MB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.5516, allocations: 10.74 MB / 499.3 MB, free: 19.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.5562, allocations: 1.227 MB / 0.4888 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.5569, allocations: 415.7 kB / 0.4892 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004318/0.5613, allocations: 3.001 MB / 0.4921 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5613, allocations: 41.91 kB / 0.4922 GB, free: 16.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/0.5613, allocations: 1.5 kB / 0.4922 GB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01244/0.5738, allocations: 3.769 MB / 0.4958 GB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.5739, allocations: 87.89 kB / 0.4959 GB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.5761, allocations: 1.202 MB / 0.4971 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5761, allocations: 36.05 kB / 0.4971 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.5768, allocations: 0.9385 MB / 0.498 GB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.577, allocations: 222.3 kB / 0.4983 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004582/0.5774, allocations: 311.5 kB / 0.4986 GB, free: 13.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.5775, allocations: 306.2 kB / 0.4988 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007985/0.5783, allocations: 419 kB / 0.4992 GB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.5798, allocations: 1.249 MB / 0.5005 GB, free: 12.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.5823, allocations: 1.809 MB / 0.5022 GB, free: 10.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.5823, allocations: 8.781 kB / 0.5022 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003423/0.5857, allocations: 1.733 MB / 0.5039 GB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.5858, allocations: 17.62 kB / 0.5039 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/0.5858, allocations: 33.41 kB / 0.504 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.5861, allocations: 86.77 kB / 0.5041 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5873, allocations: 354.8 kB / 0.5044 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5888, allocations: 1.699 MB / 0.5061 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.5899, allocations: 69.89 kB / 0.5061 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5901, allocations: 86.97 kB / 0.5062 GB, free: 8.109 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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.001428/0.5915, allocations: 0.6386 MB / 0.5068 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.5917, allocations: 125.7 kB / 0.507 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.593, allocations: 0.7018 MB / 0.5076 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5931, allocations: 7.188 kB / 0.5076 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5931, allocations: 0 / 0.5076 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5931, allocations: 10.84 kB / 0.5077 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.5969, allocations: 2.242 MB / 0.5098 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5969, allocations: 1.562 kB / 0.5098 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.5973, allocations: 95.45 kB / 0.5099 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.5975, allocations: 68.91 kB / 0.51 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.5975, allocations: 16.44 kB / 0.51 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.5989, allocations: 1.744 MB / 0.5117 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5989, allocations: 13 kB / 0.5117 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.6004, allocations: 1.099 MB / 0.5128 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.6008, allocations: 224.6 kB / 0.513 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6009, allocations: 19.09 kB / 0.513 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.6013, allocations: 21.42 kB / 0.5131 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.6014, allocations: 49.58 kB / 0.5131 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.6014, allocations: 22.56 kB / 0.5131 GB, free: 3.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.6025, allocations: 0.7672 MB / 0.5139 GB, free: 2.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6025, allocations: 0 / 0.5139 GB, free: 2.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00183/0.6043, allocations: 304.6 kB / 0.5142 GB, free: 2.93 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.6046, allocations: 129.3 kB / 0.5143 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.6065, allocations: 1.099 MB / 0.5154 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6065, allocations: 0 / 0.5154 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.607, allocations: 411.3 kB / 0.5158 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.6079, allocations: 173.3 kB / 0.5159 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.6128, allocations: 3.505 MB / 0.5193 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.614, allocations: 1.458 MB / 0.5208 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.6151, allocations: 419.4 kB / 0.5212 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.6153, allocations: 75.44 kB / 0.5212 GB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6153, allocations: 0 / 0.5212 GB, free: 12.1 MB / 398.1 MB Notification: Performance of Templates: time 0.02261/0.6379, allocations: 10.06 MB / 0.5311 GB, free: 2.113 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)