Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.0009561/0.0009561, allocations: 172.4 kB / 16.26 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.892/1.892, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4024/0.4024, allocations: 40 MB / 310.7 MB, free: 9.844 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.0005632/0.0005632, allocations: 12 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1557, allocations: 57.96 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3509/0.5067, allocations: 46.94 MB / 484.4 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03253/0.5393, allocations: 10.64 MB / 495 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01543/0.5548, allocations: 212.4 kB / 495.2 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.5575, allocations: 0.5173 MB / 495.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008406/0.5659, allocations: 2.071 MB / 497.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.5702, allocations: 1.076 MB / 498.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.584, allocations: 8.044 MB / 0.495 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01405/0.5981, allocations: 7.058 MB / 0.5019 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.6032, allocations: 1.593 MB / 0.5035 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00683/0.6101, allocations: 2.699 MB / 0.5061 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.6122, allocations: 200.2 kB / 0.5063 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00537/0.6176, allocations: 1.442 MB / 0.5077 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005754/0.6234, allocations: 2.33 MB / 0.51 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.6337, allocations: 2.643 MB / 0.5126 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.6531, allocations: 9.26 MB / 0.5216 GB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6531, allocations: 4 kB / 0.5216 GB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.6532, allocations: 3.938 kB / 0.5216 GB, free: 472 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006724/0.6538, allocations: 0 / 0.5216 GB, free: 472 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02282/0.6767, allocations: 5.387 MB / 0.5269 GB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/0.6768, allocations: 12.03 kB / 0.5269 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/0.6975, allocations: 2.778 MB / 0.5296 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.7098, allocations: 3.728 MB / 0.5332 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/0.7104, allocations: 358.2 kB / 0.5336 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.7132, allocations: 427.7 kB / 0.534 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/0.75, allocations: 13.89 MB / 0.5476 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003576/0.7504, allocations: 51.53 kB / 0.5476 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/0.7527, allocations: 199.8 kB / 0.5478 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004598/0.7574, allocations: 2.402 MB / 0.5501 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/0.7887, allocations: 11.79 MB / 0.5617 GB, free: 7.453 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08921/0.878, allocations: 51.83 MB / 0.6123 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.892, allocations: 4.742 MB / 0.6169 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004747/0.8968, allocations: 2.952 MB / 0.6198 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3244/1.221, allocations: 12.86 MB / 0.6323 GB, free: 140.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.221, allocations: 51.41 kB / 0.6324 GB, free: 140.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 7.855e-06/1.221, allocations: 5.188 kB / 0.6324 GB, free: 140.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1582/1.379, allocations: 43.37 MB / 0.6748 GB, free: 131 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/1.38, allocations: 233.9 kB / 0.675 GB, free: 130.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/1.389, allocations: 4.796 MB / 0.6797 GB, free: 129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009091/1.39, allocations: 61.11 kB / 0.6797 GB, free: 128.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003009/1.393, allocations: 3.843 MB / 0.6835 GB, free: 126 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.395, allocations: 0.9305 MB / 0.6844 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008737/1.396, allocations: 0.6339 MB / 0.685 GB, free: 125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/1.396, allocations: 309.1 kB / 0.6853 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/1.401, allocations: 3.436 MB / 0.6887 GB, free: 123.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008355/1.409, allocations: 7.707 MB / 0.6962 GB, free: 115.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.422, allocations: 11.87 MB / 0.7078 GB, free: 101.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.422, allocations: 44 kB / 0.7078 GB, free: 101.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03019/1.453, allocations: 14.48 MB / 0.722 GB, free: 86.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/1.453, allocations: 68 kB / 0.722 GB, free: 86.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.453, allocations: 148 kB / 0.7222 GB, free: 86.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/1.465, allocations: 4.025 MB / 0.7261 GB, free: 82.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006019/1.471, allocations: 1.634 MB / 0.7277 GB, free: 80.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/1.496, allocations: 18.68 MB / 0.7459 GB, free: 62.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008556/1.505, allocations: 467.2 kB / 0.7464 GB, free: 61.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.507, allocations: 439 kB / 0.7468 GB, free: 61.15 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * Array equations: 3 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008485/1.515, allocations: 2.66 MB / 0.7494 GB, free: 58.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00177/1.517, allocations: 430.5 kB / 0.7498 GB, free: 58.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02064/1.538, allocations: 8.644 MB / 0.7582 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.707e-05/1.538, allocations: 28 kB / 0.7583 GB, free: 49.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.978e-05/1.538, allocations: 12 kB / 0.7583 GB, free: 49.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.681e-05/1.538, allocations: 15.89 kB / 0.7583 GB, free: 49.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04428/1.582, allocations: 17.9 MB / 0.7758 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/1.582, allocations: 5.781 kB / 0.7758 GB, free: 31.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.584, allocations: 399.4 kB / 0.7762 GB, free: 31.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/1.596, allocations: 4.069 MB / 0.7801 GB, free: 26.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008806/1.597, allocations: 40 kB / 0.7802 GB, free: 26.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/1.622, allocations: 17.12 MB / 0.7969 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.622, allocations: 11.91 kB / 0.7969 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/1.648, allocations: 13.23 MB / 0.8098 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004102/1.652, allocations: 0.964 MB / 0.8108 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/1.655, allocations: 40.06 kB / 0.8108 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004631/1.659, allocations: 215.7 kB / 0.811 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/1.661, allocations: 150.2 kB / 0.8112 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000532/1.661, allocations: 63.58 kB / 0.8112 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3111/1.972, allocations: 3 MB / 0.8141 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.22e-07/1.972, allocations: 0 / 0.8141 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009172/1.982, allocations: 1.494 MB / 0.8156 GB, free: 144.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009508/1.983, allocations: 224.1 kB / 0.8158 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.996, allocations: 8.258 MB / 0.8239 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.996, allocations: 1.219 kB / 0.8239 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004259/2.001, allocations: 3.107 MB / 0.8269 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/2.006, allocations: 0.4961 MB / 0.8274 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/2.032, allocations: 15.73 MB / 0.8428 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008081/2.04, allocations: 4.107 MB / 0.8468 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006706/2.047, allocations: 2.198 MB / 0.8489 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.048, allocations: 278.4 kB / 0.8492 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/2.048, allocations: 0 / 0.8492 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1137/2.162, allocations: 61.12 MB / 0.9089 GB, free: 93.16 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) Environment - environmentSimulation: