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.001284/0.001284, 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.001818/0.001818, allocations: 194 kB / 16.53 MB, free: 6.699 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.766/1.766, 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.4591/0.4591, allocations: 39.94 MB / 309.7 MB, free: 9.297 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.00186/0.00186, allocations: 67.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1564, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01559/0.1721, allocations: 12.01 MB / 446.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.183, allocations: 4.38 MB / 450.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.1863, allocations: 71.81 kB / 451 MB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007059/0.1934, allocations: 2.768 MB / 453.7 MB, free: 388 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2964/0.4899, allocations: 2.026 MB / 455.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.493, allocations: 1.008 MB / 456.8 MB, free: 36.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008377/0.5014, allocations: 5.136 MB / 461.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004825/0.5062, allocations: 3.439 MB / 465.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.5103, allocations: 1.766 MB / 467.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/0.5164, allocations: 2.449 MB / 469.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.5189, allocations: 366.5 kB / 469.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.5233, allocations: 1.41 MB / 471.3 MB, free: 34.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002706/0.526, allocations: 2.21 MB / 473.5 MB, free: 34.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004159/0.5302, allocations: 2.51 MB / 476 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.5437, allocations: 7.809 MB / 483.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.5437, allocations: 0.5156 kB / 483.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5437, allocations: 0 / 483.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004788/0.5442, allocations: 1.594 kB / 483.8 MB, free: 29.89 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.02582/0.5701, allocations: 5.764 MB / 489.6 MB, free: 26.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.5701, allocations: 13.2 kB / 489.6 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/0.591, allocations: 2.595 MB / 492.2 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.6043, allocations: 3.255 MB / 495.5 MB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007159/0.6051, allocations: 255.4 kB / 495.7 MB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004124/0.6093, allocations: 351.5 kB / 496.1 MB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/0.6474, allocations: 12.36 MB / 0.4965 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/0.6477, allocations: 49.53 kB / 0.4966 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.6488, allocations: 163.2 kB / 0.4967 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004181/0.653, allocations: 2.38 MB / 0.499 GB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.6766, allocations: 10.84 MB / 0.5096 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.7513, allocations: 48.82 MB / 0.5573 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.7678, allocations: 6.039 MB / 0.5632 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.7725, allocations: 3.305 MB / 0.5664 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02224/0.7948, allocations: 13.52 MB / 0.5796 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.7949, allocations: 55.81 kB / 0.5797 GB, free: 15.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 5.491e-06/0.795, allocations: 0 / 0.5797 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1217/0.9166, allocations: 36.34 MB / 0.6152 GB, free: 10.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.9168, allocations: 217.8 kB / 0.6154 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007992/0.9248, allocations: 4.393 MB / 0.6197 GB, free: 5.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001129/0.926, allocations: 65.7 kB / 0.6197 GB, free: 5.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/0.9291, allocations: 3.384 MB / 0.623 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002211/0.9313, allocations: 0.9823 MB / 0.624 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002572/0.9339, allocations: 1.423 MB / 0.6254 GB, free: 32 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.3059/1.24, allocations: 305.1 kB / 0.6257 GB, free: 148.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006314/1.246, allocations: 3.279 MB / 0.6289 GB, free: 148.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007488/1.254, allocations: 7.213 MB / 0.6359 GB, free: 142.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.268, allocations: 11.22 MB / 0.6469 GB, free: 134.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002754/1.268, allocations: 41.53 kB / 0.6469 GB, free: 134.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03622/1.305, allocations: 13.27 MB / 0.6599 GB, free: 129.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/1.305, allocations: 70.44 kB / 0.66 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003251/1.305, allocations: 136.1 kB / 0.6601 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/1.317, allocations: 3.409 MB / 0.6634 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00732/1.325, allocations: 1.582 MB / 0.665 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02656/1.351, allocations: 17.55 MB / 0.6821 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/1.359, allocations: 431.2 kB / 0.6825 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/1.361, allocations: 415.2 kB / 0.6829 GB, free: 121.6 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.008632/1.369, allocations: 2.348 MB / 0.6852 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.371, allocations: 407.3 kB / 0.6856 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.387, allocations: 8.008 MB / 0.6934 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/1.387, allocations: 28 kB / 0.6934 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-05/1.387, allocations: 12 kB / 0.6934 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-05/1.387, allocations: 11.95 kB / 0.6935 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.419, allocations: 15.55 MB / 0.7086 GB, free: 98.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/1.419, allocations: 5.078 kB / 0.7086 GB, free: 98.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/1.421, allocations: 379.4 kB / 0.709 GB, free: 98.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009127/1.43, allocations: 3.177 MB / 0.7121 GB, free: 95.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009211/1.431, allocations: 40 kB / 0.7121 GB, free: 95.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/1.453, allocations: 15.77 MB / 0.7275 GB, free: 79.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.453, allocations: 4 kB / 0.7276 GB, free: 79.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/1.475, allocations: 12.14 MB / 0.7394 GB, free: 67.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.478, allocations: 0.9292 MB / 0.7403 GB, free: 66.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/1.48, allocations: 44 kB / 0.7404 GB, free: 66.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/1.483, allocations: 191.7 kB / 0.7405 GB, free: 65.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008256/1.484, allocations: 158.1 kB / 0.7407 GB, free: 65.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003306/1.485, allocations: 67.83 kB / 0.7408 GB, free: 65.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005653/1.49, allocations: 2.753 MB / 0.7434 GB, free: 62.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.81e-07/1.49, allocations: 0 / 0.7434 GB, free: 62.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009053/1.499, allocations: 1.369 MB / 0.7448 GB, free: 61.51 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.001014/1.5, allocations: 184.3 kB / 0.745 GB, free: 61.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01799/1.518, allocations: 10.93 MB / 0.7556 GB, free: 50.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.519, allocations: 4.375 kB / 0.7556 GB, free: 50.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005558/1.524, allocations: 3.309 MB / 0.7589 GB, free: 47.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.529, allocations: 0.4987 MB / 0.7593 GB, free: 46.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.556, allocations: 12.03 MB / 0.7711 GB, free: 34.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00661/1.562, allocations: 3.678 MB / 0.7747 GB, free: 30.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006493/1.569, allocations: 2.173 MB / 0.7768 GB, free: 28.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.57, allocations: 291.4 kB / 0.7771 GB, free: 28.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/1.57, allocations: 3.938 kB / 0.7771 GB, free: 28.39 MB / 494.1 MB Notification: Performance of Templates: time 0.3911/1.961, allocations: 60.47 MB / 0.8361 GB, free: 147.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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)