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.01046/0.01046, allocations: 105.8 kB / 15.74 MB, free: 6.035 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.002084/0.002084, allocations: 196 kB / 16.67 MB, free: 5.969 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.4578/0.4578, allocations: 39.94 MB / 309.8 MB, free: 9.312 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.001464/0.001464, allocations: 75.89 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4703, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01216/0.4826, allocations: 8.675 MB / 0.4896 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.493, allocations: 3.466 MB / 0.493 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.4961, allocations: 45 kB / 0.493 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.4994, allocations: 1.361 MB / 0.4944 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.5036, allocations: 0.941 MB / 0.4953 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.5053, allocations: 0.5265 MB / 0.4958 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.509, allocations: 1.695 MB / 0.4974 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.5116, allocations: 1.666 MB / 0.4991 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5132, allocations: 0.6755 MB / 0.4997 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.5145, allocations: 0.8973 MB / 0.5006 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.5149, allocations: 138.2 kB / 0.5007 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.5164, allocations: 0.6019 MB / 0.5013 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008417/0.5173, allocations: 0.735 MB / 0.502 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009521/0.5183, allocations: 0.8318 MB / 0.5029 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.522, allocations: 2.498 MB / 0.5053 GB, free: 3.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5221, allocations: 1.125 kB / 0.5053 GB, free: 3.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5221, allocations: 0 / 0.5053 GB, free: 3.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.5221, allocations: 0 / 0.5053 GB, free: 3.91 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.004543/0.5267, allocations: 2.012 MB / 0.5073 GB, free: 2.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.5268, allocations: 11.8 kB / 0.5073 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.528, allocations: 269.4 kB / 0.5075 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.5306, allocations: 1.142 MB / 0.5086 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.5307, allocations: 100.3 kB / 0.5087 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.531, allocations: 127.6 kB / 0.5089 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/0.5375, allocations: 2.983 MB / 0.5118 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.5376, allocations: 9 kB / 0.5118 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.5377, allocations: 59.62 kB / 0.5118 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000867/0.5386, allocations: 438.2 kB / 0.5123 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.5441, allocations: 2.156 MB / 0.5144 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.5593, allocations: 10.7 MB / 0.5248 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.5633, allocations: 1.226 MB / 0.526 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.564, allocations: 411.8 kB / 0.5264 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00473/0.5688, allocations: 3.009 MB / 0.5293 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.5688, allocations: 39 kB / 0.5294 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.5688, allocations: 0 / 0.5294 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01227/0.5811, allocations: 3.764 MB / 0.533 GB, free: 10.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.5812, allocations: 93.67 kB / 0.5331 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.5831, allocations: 1.206 MB / 0.5343 GB, free: 8.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.5832, allocations: 37.7 kB / 0.5344 GB, free: 8.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.5838, allocations: 0.9355 MB / 0.5353 GB, free: 7.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.584, allocations: 213.2 kB / 0.5355 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.5844, allocations: 319 kB / 0.5358 GB, free: 7.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5846, allocations: 301.1 kB / 0.5361 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.5852, allocations: 415.7 kB / 0.5365 GB, free: 6.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.5865, allocations: 1.258 MB / 0.5377 GB, free: 4.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.5886, allocations: 1.814 MB / 0.5395 GB, free: 2.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.5887, allocations: 12 kB / 0.5395 GB, free: 2.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002924/0.5916, allocations: 1.718 MB / 0.5411 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.5917, allocations: 24.56 kB / 0.5412 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.5917, allocations: 28 kB / 0.5412 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.592, allocations: 85.59 kB / 0.5413 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5931, allocations: 363.3 kB / 0.5416 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.5957, allocations: 1.88 MB / 0.5435 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5974, allocations: 67.98 kB / 0.5435 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.5975, allocations: 84 kB / 0.5436 GB, free: 14.27 MB / 430.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.001578/0.5991, allocations: 0.6439 MB / 0.5442 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.5994, allocations: 122.5 kB / 0.5444 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6007, allocations: 0.7068 MB / 0.545 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.6008, allocations: 4 kB / 0.545 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6008, allocations: 4.188 kB / 0.545 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6008, allocations: 7.984 kB / 0.5451 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.6051, allocations: 2.223 MB / 0.5472 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6052, allocations: 4.5 kB / 0.5472 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.6055, allocations: 103.8 kB / 0.5473 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.6058, allocations: 64.81 kB / 0.5474 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.6059, allocations: 15.94 kB / 0.5474 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.608, allocations: 1.94 MB / 0.5493 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.608, allocations: 7.938 kB / 0.5493 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6097, allocations: 1.1 MB / 0.5504 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.6102, allocations: 219.6 kB / 0.5506 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6104, allocations: 16 kB / 0.5506 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.6107, allocations: 23.98 kB / 0.5506 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.6108, allocations: 43.83 kB / 0.5507 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.6109, allocations: 20 kB / 0.5507 GB, free: 6.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.6121, allocations: 0.7716 MB / 0.5514 GB, free: 5.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6121, allocations: 0 / 0.5514 GB, free: 5.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001821/0.6139, allocations: 304 kB / 0.5517 GB, free: 5.582 MB / 430.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.0003516/0.6143, allocations: 131 kB / 0.5519 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.6167, allocations: 1.116 MB / 0.553 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.6167, allocations: 0 / 0.553 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.6174, allocations: 408.4 kB / 0.5533 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6186, allocations: 205.6 kB / 0.5535 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.6255, allocations: 2.821 MB / 0.5563 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.6278, allocations: 1.455 MB / 0.5577 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.6292, allocations: 409.7 kB / 0.5581 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.6295, allocations: 79.44 kB / 0.5582 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.854e-06/0.6295, allocations: 0 / 0.5582 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02766/0.6572, allocations: 10.91 MB / 0.5688 GB, free: 3.941 MB / 446.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)