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.001388/0.001394, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.804/1.804, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3941/0.3941, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.001618/0.001618, allocations: 67.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1716, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01171/0.1834, allocations: 8.675 MB / 443.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.1928, allocations: 3.464 MB / 446.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.1949, allocations: 47.88 kB / 446.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.1978, allocations: 1.367 MB / 448 MB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.2008, allocations: 0.9417 MB / 449 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2022, allocations: 0.5108 MB / 449.5 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.2052, allocations: 1.703 MB / 451.2 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.2077, allocations: 1.667 MB / 452.9 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.2092, allocations: 0.6698 MB / 453.5 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3238/0.533, allocations: 0.8913 MB / 454.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006261/0.5337, allocations: 139.8 kB / 454.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.5352, allocations: 0.5912 MB / 455.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007657/0.536, allocations: 0.7296 MB / 455.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000783/0.5368, allocations: 0.8372 MB / 456.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.5389, allocations: 2.44 MB / 459.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5389, allocations: 0 / 459.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5389, allocations: 4.625 kB / 459.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.5389, allocations: 3.938 kB / 459.2 MB, free: 37.95 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.003447/0.5424, allocations: 2.007 MB / 461.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.5424, allocations: 16.09 kB / 461.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5435, allocations: 262.4 kB / 461.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.5455, allocations: 1.12 MB / 462.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5456, allocations: 95.81 kB / 462.7 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5458, allocations: 128.3 kB / 462.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004966/0.5508, allocations: 2.982 MB / 465.8 MB, free: 36.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.5509, allocations: 12.5 kB / 465.8 MB, free: 36.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.551, allocations: 57.3 kB / 465.8 MB, free: 36.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005543/0.5516, allocations: 440.8 kB / 466.3 MB, free: 36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003991/0.5556, allocations: 2.157 MB / 468.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009701/0.5653, allocations: 10.74 MB / 479.2 MB, free: 28.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.5688, allocations: 1.235 MB / 480.4 MB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.5694, allocations: 407.3 kB / 480.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.5724, allocations: 2.997 MB / 483.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5725, allocations: 41 kB / 483.8 MB, free: 25.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.5725, allocations: 0 / 483.8 MB, free: 25.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01073/0.5832, allocations: 3.769 MB / 487.6 MB, free: 24.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5833, allocations: 88.14 kB / 487.7 MB, free: 24.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.585, allocations: 1.202 MB / 488.9 MB, free: 23.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.5851, allocations: 39.77 kB / 488.9 MB, free: 23.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/0.5856, allocations: 0.9389 MB / 489.9 MB, free: 22.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5857, allocations: 215.5 kB / 490.1 MB, free: 22.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.5861, allocations: 317.3 kB / 490.4 MB, free: 22.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.5862, allocations: 305.1 kB / 490.7 MB, free: 22.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.5869, allocations: 414 kB / 491.1 MB, free: 22.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.588, allocations: 1.259 MB / 492.4 MB, free: 20.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.5907, allocations: 1.81 MB / 494.2 MB, free: 19.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.5907, allocations: 8.188 kB / 494.2 MB, free: 19.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003924/0.5947, allocations: 1.73 MB / 495.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.5947, allocations: 16.88 kB / 495.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.817e-05/0.5948, allocations: 31.28 kB / 495.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.595, allocations: 91.55 kB / 496 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5962, allocations: 357.2 kB / 496.4 MB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5979, allocations: 1.878 MB / 498.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.5991, allocations: 65.09 kB / 498.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5992, allocations: 85.62 kB / 498.4 MB, free: 17.14 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.00124/0.6005, allocations: 0.6442 MB / 499.1 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6007, allocations: 120.4 kB / 499.2 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.602, allocations: 0.7041 MB / 499.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.602, allocations: 9.953 kB / 499.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.602, allocations: 5.531 kB / 499.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.602, allocations: 4.484 kB / 499.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.6058, allocations: 2.234 MB / 0.4904 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6059, allocations: 2.906 kB / 0.4904 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.6062, allocations: 96.66 kB / 0.4905 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.6065, allocations: 68.78 kB / 0.4905 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.6065, allocations: 14.84 kB / 0.4905 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.6081, allocations: 1.941 MB / 0.4924 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.6081, allocations: 7.312 kB / 0.4924 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.6098, allocations: 1.11 MB / 0.4935 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.6101, allocations: 215.3 kB / 0.4937 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6102, allocations: 19.58 kB / 0.4937 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.6106, allocations: 19.48 kB / 0.4938 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6107, allocations: 50.36 kB / 0.4938 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.6108, allocations: 24.91 kB / 0.4938 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.6125, allocations: 0.7653 MB / 0.4946 GB, free: 12.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6125, allocations: 1.281 kB / 0.4946 GB, free: 12.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002077/0.6146, allocations: 299.4 kB / 0.4949 GB, free: 12.5 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.0002686/0.6148, allocations: 135.9 kB / 0.495 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.6172, allocations: 1.201 MB / 0.4962 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.6172, allocations: 1.844 kB / 0.4962 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.6178, allocations: 411.9 kB / 0.4966 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/0.6188, allocations: 181 kB / 0.4967 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.6241, allocations: 2.865 MB / 0.4995 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.6256, allocations: 1.459 MB / 0.501 GB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001306/0.6269, allocations: 412.9 kB / 0.5014 GB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.6271, allocations: 76.77 kB / 0.5014 GB, free: 9.387 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6271, allocations: 3.938 kB / 0.5014 GB, free: 9.383 MB / 382.1 MB Notification: Performance of Templates: time 0.02484/0.652, allocations: 10.49 MB / 0.5117 GB, free: 5.492 MB / 382.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)