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.007908/0.007908, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001475/0.001475, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.695/1.695, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.4402/0.4402, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001465/0.001466, allocations: 79.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4223, allocations: 56.46 MB / 489.5 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01078/0.4331, allocations: 8.681 MB / 498.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008454/0.4416, allocations: 3.455 MB / 0.4898 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.4437, allocations: 45.75 kB / 0.4899 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.4466, allocations: 1.377 MB / 0.4912 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.4497, allocations: 0.9263 MB / 0.4921 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4511, allocations: 0.5291 MB / 0.4927 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.4539, allocations: 1.7 MB / 0.4943 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.456, allocations: 1.664 MB / 0.4959 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4572, allocations: 0.6725 MB / 0.4966 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.4587, allocations: 0.8983 MB / 0.4975 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.459, allocations: 137.9 kB / 0.4976 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.4605, allocations: 0.5952 MB / 0.4982 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008553/0.4613, allocations: 0.7491 MB / 0.4989 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00084/0.4622, allocations: 0.828 MB / 0.4997 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.4654, allocations: 2.498 MB / 0.5022 GB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4654, allocations: 0 / 0.5022 GB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4654, allocations: 9.531 kB / 0.5022 GB, free: 5.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.4654, allocations: 0 / 0.5022 GB, free: 5.285 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.003866/0.4693, allocations: 2.006 MB / 0.5041 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.4694, allocations: 12.73 kB / 0.5041 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.4706, allocations: 270.2 kB / 0.5044 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.4728, allocations: 1.137 MB / 0.5055 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.4729, allocations: 97.08 kB / 0.5056 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.4731, allocations: 131.6 kB / 0.5057 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005787/0.4789, allocations: 2.983 MB / 0.5086 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.958e-05/0.479, allocations: 13.44 kB / 0.5087 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.4791, allocations: 58.53 kB / 0.5087 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/0.4798, allocations: 431.8 kB / 0.5091 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.4845, allocations: 2.163 MB / 0.5112 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.4988, allocations: 10.7 MB / 0.5217 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.5026, allocations: 1.234 MB / 0.5229 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.5032, allocations: 415.2 kB / 0.5233 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004234/0.5074, allocations: 2.993 MB / 0.5262 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.5075, allocations: 39 kB / 0.5263 GB, free: 1.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.346e-06/0.5075, allocations: 4 kB / 0.5263 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.0116/0.5191, allocations: 3.772 MB / 0.5299 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.5192, allocations: 81.67 kB / 0.53 GB, free: 13.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.521, allocations: 1.206 MB / 0.5312 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.521, allocations: 33.7 kB / 0.5312 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/0.5217, allocations: 0.9356 MB / 0.5321 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.5219, allocations: 221.1 kB / 0.5323 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004083/0.5224, allocations: 323.1 kB / 0.5327 GB, free: 10.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5225, allocations: 301.1 kB / 0.5329 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.5231, allocations: 411.7 kB / 0.5333 GB, free: 9.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5243, allocations: 1.258 MB / 0.5346 GB, free: 8.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.5262, allocations: 1.803 MB / 0.5363 GB, free: 5.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.5262, allocations: 8 kB / 0.5363 GB, free: 5.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002444/0.5286, allocations: 1.734 MB / 0.538 GB, free: 4.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.5287, allocations: 16 kB / 0.538 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.5287, allocations: 35.94 kB / 0.5381 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.5289, allocations: 88.81 kB / 0.5382 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.53, allocations: 355.4 kB / 0.5385 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.5315, allocations: 1.877 MB / 0.5403 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.5324, allocations: 63.98 kB / 0.5404 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.5325, allocations: 84 kB / 0.5405 GB, free: 1.449 MB / 414.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.001013/0.5335, allocations: 0.6478 MB / 0.5411 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.5337, allocations: 118.5 kB / 0.5412 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5348, allocations: 0.7068 MB / 0.5419 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5348, allocations: 12.08 kB / 0.5419 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5348, allocations: 3.938 kB / 0.5419 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5348, allocations: 3.984 kB / 0.5419 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5386, allocations: 2.231 MB / 0.5441 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5386, allocations: 4 kB / 0.5441 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.539, allocations: 95.83 kB / 0.5442 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.5392, allocations: 64.81 kB / 0.5443 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.5393, allocations: 15.94 kB / 0.5443 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.5414, allocations: 1.944 MB / 0.5462 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.5414, allocations: 15.86 kB / 0.5462 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.5432, allocations: 1.089 MB / 0.5473 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.5438, allocations: 227.5 kB / 0.5475 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5439, allocations: 16 kB / 0.5475 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.5443, allocations: 23.98 kB / 0.5475 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.5444, allocations: 51.89 kB / 0.5476 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.5444, allocations: 20 kB / 0.5476 GB, free: 9.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.5457, allocations: 0.7715 MB / 0.5483 GB, free: 9.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5457, allocations: 0 / 0.5483 GB, free: 9.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001638/0.5473, allocations: 300 kB / 0.5486 GB, free: 8.75 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.0003002/0.5476, allocations: 135 kB / 0.5487 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.5497, allocations: 1.1 MB / 0.5498 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.5497, allocations: 4.625 kB / 0.5498 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.5502, allocations: 410.5 kB / 0.5502 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.5512, allocations: 193.5 kB / 0.5504 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.5558, allocations: 2.817 MB / 0.5532 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.557, allocations: 1.466 MB / 0.5546 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008845/0.5579, allocations: 405.7 kB / 0.555 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.5581, allocations: 79.38 kB / 0.555 GB, free: 2.02 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5581, allocations: 0 / 0.555 GB, free: 2.02 MB / 430.1 MB Notification: Performance of Templates: time 0.02081/0.5789, allocations: 10.92 MB / 0.5657 GB, free: 7.109 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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)