Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002794/0.002798, allocations: 349.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.654/3.654, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005237/0.005238, allocations: 229.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5471/0.5471, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006677/0.0006679, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1176, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3988/0.5165, allocations: 22.51 MB / 0.6287 GB, free: 79.31 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.5367, allocations: 5.647 MB / 0.6342 GB, free: 75.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006669/0.5434, allocations: 106.2 kB / 0.6343 GB, free: 75.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005639/0.5491, allocations: 1.054 MB / 0.6354 GB, free: 75.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.5674, allocations: 3.86 MB / 0.6391 GB, free: 73.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.571, allocations: 463.3 kB / 0.6396 GB, free: 73.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006322/0.5774, allocations: 1.856 MB / 0.6414 GB, free: 72.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006027/0.5835, allocations: 1.963 MB / 0.6433 GB, free: 71.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5852, allocations: 496.7 kB / 0.6438 GB, free: 71.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.5875, allocations: 0.771 MB / 0.6445 GB, free: 71.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.5879, allocations: 56.53 kB / 0.6446 GB, free: 71.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.59, allocations: 447.7 kB / 0.645 GB, free: 71.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.5914, allocations: 0.5901 MB / 0.6456 GB, free: 70.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007591/0.5922, allocations: 301.8 kB / 0.6459 GB, free: 70.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.5969, allocations: 1.856 MB / 0.6477 GB, free: 69.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.5969, allocations: 0 / 0.6477 GB, free: 69.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.597, allocations: 3.938 kB / 0.6477 GB, free: 69.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.5971, allocations: 1.25 kB / 0.6477 GB, free: 69.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007742/0.6049, allocations: 1.677 MB / 0.6493 GB, free: 68.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.6049, allocations: 7.875 kB / 0.6494 GB, free: 68.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.6079, allocations: 261 kB / 0.6496 GB, free: 67.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.6121, allocations: 1.067 MB / 0.6506 GB, free: 67.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6123, allocations: 90.12 kB / 0.6507 GB, free: 67.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/0.6128, allocations: 117.1 kB / 0.6508 GB, free: 67.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009459/0.6223, allocations: 2.913 MB / 0.6537 GB, free: 64.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.6224, allocations: 15.78 kB / 0.6537 GB, free: 64.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.6226, allocations: 67.91 kB / 0.6538 GB, free: 64.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00091/0.6236, allocations: 409.9 kB / 0.6542 GB, free: 64.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/0.6316, allocations: 2.112 MB / 0.6562 GB, free: 61.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.649, allocations: 10.4 MB / 0.6664 GB, free: 51.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006011/0.6551, allocations: 1.103 MB / 0.6675 GB, free: 50.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.656, allocations: 387.3 kB / 0.6678 GB, free: 49.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004634/0.6607, allocations: 2.61 MB / 0.6704 GB, free: 46.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.6608, allocations: 43.69 kB / 0.6704 GB, free: 46.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.557e-06/0.6608, allocations: 0 / 0.6704 GB, free: 46.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.01788/0.6787, allocations: 3.52 MB / 0.6739 GB, free: 43.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.6787, allocations: 81.55 kB / 0.6739 GB, free: 43.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.6806, allocations: 1.169 MB / 0.6751 GB, free: 41.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.6807, allocations: 29.7 kB / 0.6751 GB, free: 41.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.6813, allocations: 0.9234 MB / 0.676 GB, free: 41.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.6815, allocations: 197.4 kB / 0.6762 GB, free: 40.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.6816, allocations: 32 kB / 0.6762 GB, free: 40.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6817, allocations: 365.9 kB / 0.6766 GB, free: 40.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/0.6826, allocations: 395.7 kB / 0.6769 GB, free: 40.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.6839, allocations: 1.209 MB / 0.6781 GB, free: 38.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.6852, allocations: 0.6519 MB / 0.6788 GB, free: 37.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.6852, allocations: 8 kB / 0.6788 GB, free: 37.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003506/0.6888, allocations: 1.658 MB / 0.6804 GB, free: 36.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.6888, allocations: 16 kB / 0.6804 GB, free: 36.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.6889, allocations: 32 kB / 0.6804 GB, free: 36.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.6892, allocations: 88.83 kB / 0.6805 GB, free: 35.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.6911, allocations: 344.7 kB / 0.6808 GB, free: 35.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.6927, allocations: 1.708 MB / 0.6825 GB, free: 33.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.6942, allocations: 68.05 kB / 0.6826 GB, free: 33.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6943, allocations: 84 kB / 0.6827 GB, free: 33.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (184): * Single equations (assignments): 183 * 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.001136/0.6954, allocations: 0.6261 MB / 0.6833 GB, free: 33.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.6956, allocations: 110.6 kB / 0.6834 GB, free: 32.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.6972, allocations: 0.6566 MB / 0.684 GB, free: 32.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6973, allocations: 3.984 kB / 0.684 GB, free: 32.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6973, allocations: 0 / 0.684 GB, free: 32.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.6977, allocations: 219.6 kB / 0.6842 GB, free: 31.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.6979, allocations: 8 kB / 0.6842 GB, free: 31.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/0.6985, allocations: 27.97 kB / 0.6843 GB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.6986, allocations: 36.34 kB / 0.6843 GB, free: 31.92 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001962/0.7006, allocations: 0.6754 MB / 0.685 GB, free: 31.24 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001833/0.7024, allocations: 1.018 MB / 0.686 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000507/0.7029, allocations: 231.3 kB / 0.6862 GB, free: 29.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001326/0.7043, allocations: 0.7433 MB / 0.6869 GB, free: 29.23 MB / 362.7 MB Notification: Performance of Backend: time 6.31e-07/0.7043, allocations: 0 / 0.6869 GB, free: 29.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.7073, allocations: 1.02 MB / 0.6879 GB, free: 28.2 MB / 362.7 MB Notification: Performance of SimCode: time 0.006325/0.7137, allocations: 3.699 MB / 0.6915 GB, free: 24.47 MB / 362.7 MB Notification: Performance of Templates: time 0.03524/0.7489, allocations: 11.8 MB / 0.703 GB, free: 13 MB / 362.7 MB