Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001365/0.001365, allocations: 173.4 kB / 16.27 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.915/1.915, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.4157/0.4157, allocations: 40 MB / 310.7 MB, free: 9.535 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.0006278/0.0006279, allocations: 12 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1504, allocations: 57.96 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.4117/0.5621, allocations: 42.27 MB / 479.7 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02761/0.5898, allocations: 9.589 MB / 489.3 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01294/0.6028, allocations: 186.6 kB / 489.5 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.6052, allocations: 471.2 kB / 489.9 MB, free: 21.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.6123, allocations: 1.918 MB / 491.8 MB, free: 20.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.615, allocations: 0.9253 MB / 492.8 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.625, allocations: 7.202 MB / 500 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009545/0.6346, allocations: 4.504 MB / 0.4926 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.6392, allocations: 1.359 MB / 0.494 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.6454, allocations: 2.367 MB / 0.4963 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.6475, allocations: 169.4 kB / 0.4964 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/0.6528, allocations: 1.295 MB / 0.4977 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.6576, allocations: 2.014 MB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008251/0.6659, allocations: 2.279 MB / 0.5019 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.6817, allocations: 7.53 MB / 0.5093 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6817, allocations: 4 kB / 0.5093 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6818, allocations: 3.938 kB / 0.5093 GB, free: 8.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004334/0.6822, allocations: 0 / 0.5093 GB, free: 8.883 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01977/0.702, allocations: 4.792 MB / 0.5139 GB, free: 5.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.7021, allocations: 9.438 kB / 0.5139 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02153/0.7236, allocations: 2.662 MB / 0.5165 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.7355, allocations: 3.253 MB / 0.5197 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/0.736, allocations: 255.5 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/0.7387, allocations: 352.3 kB / 0.5203 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.77, allocations: 12.38 MB / 0.5324 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/0.7705, allocations: 59.42 kB / 0.5325 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/0.7725, allocations: 171.8 kB / 0.5326 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004584/0.7771, allocations: 2.377 MB / 0.5349 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02957/0.8067, allocations: 10.87 MB / 0.5455 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.079/0.8858, allocations: 48.84 MB / 0.5932 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/0.9029, allocations: 6.052 MB / 0.5992 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005121/0.908, allocations: 3.299 MB / 0.6024 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02604/0.9341, allocations: 13.53 MB / 0.6156 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.9342, allocations: 55.81 kB / 0.6156 GB, free: 14.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 9.317e-06/0.9343, allocations: 4 kB / 0.6156 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4458/1.38, allocations: 36.44 MB / 0.6512 GB, free: 141.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.38, allocations: 209.3 kB / 0.6514 GB, free: 141.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.391, allocations: 4.391 MB / 0.6557 GB, free: 140 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.392, allocations: 63.2 kB / 0.6558 GB, free: 140 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003278/1.396, allocations: 3.38 MB / 0.6591 GB, free: 137.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.398, allocations: 0.9926 MB / 0.66 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/1.399, allocations: 0.5934 MB / 0.6606 GB, free: 136.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/1.399, allocations: 306.8 kB / 0.6609 GB, free: 136.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00644/1.405, allocations: 3.282 MB / 0.6641 GB, free: 135 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/1.416, allocations: 7.209 MB / 0.6712 GB, free: 128.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/1.434, allocations: 11.23 MB / 0.6821 GB, free: 120 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000257/1.434, allocations: 38.66 kB / 0.6822 GB, free: 120 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03136/1.466, allocations: 13.27 MB / 0.6951 GB, free: 114.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003193/1.466, allocations: 66.36 kB / 0.6952 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003225/1.466, allocations: 136 kB / 0.6953 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009953/1.476, allocations: 3.419 MB / 0.6987 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/1.483, allocations: 1.568 MB / 0.7002 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/1.507, allocations: 16.41 MB / 0.7162 GB, free: 95.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/1.515, allocations: 431.5 kB / 0.7166 GB, free: 94.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.517, allocations: 414.7 kB / 0.717 GB, free: 94.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007258/1.524, allocations: 2.352 MB / 0.7193 GB, free: 92.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/1.526, allocations: 406.8 kB / 0.7197 GB, free: 91.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/1.545, allocations: 8.001 MB / 0.7275 GB, free: 83.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.803e-05/1.545, allocations: 34.56 kB / 0.7275 GB, free: 83.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.33e-05/1.545, allocations: 16 kB / 0.7276 GB, free: 83.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.479e-05/1.545, allocations: 7.969 kB / 0.7276 GB, free: 83.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03925/1.584, allocations: 15.55 MB / 0.7428 GB, free: 68.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/1.584, allocations: 7.938 kB / 0.7428 GB, free: 68.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.587, allocations: 387.4 kB / 0.7431 GB, free: 67.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009692/1.596, allocations: 3.169 MB / 0.7462 GB, free: 64.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007609/1.597, allocations: 48.83 kB / 0.7463 GB, free: 64.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/1.617, allocations: 14.67 MB / 0.7606 GB, free: 49.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.618, allocations: 0 / 0.7606 GB, free: 49.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/1.64, allocations: 12.14 MB / 0.7725 GB, free: 37.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/1.643, allocations: 0.9408 MB / 0.7734 GB, free: 36.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/1.645, allocations: 44 kB / 0.7734 GB, free: 36.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003818/1.649, allocations: 191.7 kB / 0.7736 GB, free: 36.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009407/1.65, allocations: 158.1 kB / 0.7738 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004143/1.65, allocations: 67.98 kB / 0.7738 GB, free: 35.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00677/1.657, allocations: 2.75 MB / 0.7765 GB, free: 33.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.657, allocations: 0 / 0.7765 GB, free: 33.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01021/1.667, allocations: 1.369 MB / 0.7779 GB, free: 31.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009622/1.668, allocations: 177.7 kB / 0.778 GB, free: 31.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.682, allocations: 8.185 MB / 0.786 GB, free: 23.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.682, allocations: 8 kB / 0.786 GB, free: 23.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005354/1.687, allocations: 3.301 MB / 0.7892 GB, free: 20.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.694, allocations: 481 kB / 0.7897 GB, free: 19.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/1.724, allocations: 14.42 MB / 0.8038 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006381/1.73, allocations: 3.687 MB / 0.8074 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006194/1.736, allocations: 2.174 MB / 0.8095 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/1.737, allocations: 283.3 kB / 0.8098 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/1.737, allocations: 0 / 0.8098 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.38/2.117, allocations: 57.07 MB / 0.8655 GB, free: 131.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: