Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001309/0.001309, allocations: 108 kB / 15.6 MB, free: 132 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.001697/0.001697, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.771/1.771, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4349/0.4349, allocations: 37.99 MB / 307.7 MB, free: 9.996 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.1. 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.001517/0.001517, allocations: 72.53 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1459, allocations: 56.47 MB / 431.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01404/0.16, allocations: 12.02 MB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.1706, allocations: 4.376 MB / 448.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.1734, allocations: 71.81 kB / 448.2 MB, free: 6.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005729/0.1792, allocations: 2.768 MB / 450.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006838/0.186, allocations: 2.031 MB / 453 MB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1889, allocations: 1.018 MB / 454 MB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3235/0.5125, allocations: 5.122 MB / 459.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004532/0.5171, allocations: 3.436 MB / 462.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.5204, allocations: 1.761 MB / 464.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.524, allocations: 2.456 MB / 466.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000926/0.525, allocations: 366.2 kB / 467.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.5279, allocations: 1.414 MB / 468.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.53, allocations: 2.204 MB / 470.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002717/0.5327, allocations: 2.5 MB / 473.2 MB, free: 33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008724/0.5414, allocations: 7.816 MB / 481.1 MB, free: 30.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5415, allocations: 0.6562 kB / 481.1 MB, free: 30.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5415, allocations: 3.938 kB / 481.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002098/0.5417, allocations: 4 kB / 481.1 MB, free: 30.46 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.01619/0.5579, allocations: 5.757 MB / 486.8 MB, free: 27.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.558, allocations: 16.39 kB / 486.8 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.5764, allocations: 2.598 MB / 489.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.5871, allocations: 3.255 MB / 492.7 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.5875, allocations: 255.1 kB / 492.9 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.59, allocations: 345.9 kB / 493.3 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.6179, allocations: 12.36 MB / 0.4938 GB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.6182, allocations: 58.92 kB / 0.4938 GB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/0.6188, allocations: 165.5 kB / 0.494 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/0.6227, allocations: 2.384 MB / 0.4963 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.6448, allocations: 10.83 MB / 0.5069 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08354/0.7284, allocations: 48.82 MB / 0.5546 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03011/0.7586, allocations: 6.039 MB / 0.5605 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008844/0.7675, allocations: 3.296 MB / 0.5637 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04332/0.8108, allocations: 13.52 MB / 0.5769 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.811, allocations: 63.81 kB / 0.577 GB, free: 3.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=204): time 8.856e-06/0.811, allocations: 0 / 0.577 GB, free: 3.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.1388/0.9498, allocations: 36.35 MB / 0.6125 GB, free: 14.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.95, allocations: 213.9 kB / 0.6127 GB, free: 14.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008442/0.9585, allocations: 4.389 MB / 0.617 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009529/0.9595, allocations: 65.69 kB / 0.617 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002686/0.9622, allocations: 3.38 MB / 0.6203 GB, free: 6.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.9636, allocations: 0.9903 MB / 0.6213 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/0.9657, allocations: 1.415 MB / 0.6227 GB, free: 4.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9659, allocations: 303.8 kB / 0.623 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/0.9706, allocations: 3.289 MB / 0.6262 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3233/1.294, allocations: 7.201 MB / 0.6332 GB, free: 145.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/1.308, allocations: 11.23 MB / 0.6442 GB, free: 137.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.308, allocations: 39.31 kB / 0.6442 GB, free: 137.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02812/1.336, allocations: 13.27 MB / 0.6572 GB, free: 133.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.336, allocations: 66.81 kB / 0.6572 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/1.336, allocations: 137.3 kB / 0.6574 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/1.347, allocations: 3.41 MB / 0.6607 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/1.353, allocations: 1.58 MB / 0.6622 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/1.379, allocations: 17.55 MB / 0.6794 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/1.386, allocations: 428.7 kB / 0.6798 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/1.388, allocations: 410.1 kB / 0.6802 GB, free: 124.9 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.00463/1.392, allocations: 2.351 MB / 0.6825 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.393, allocations: 404.2 kB / 0.6829 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.408, allocations: 8.006 MB / 0.6907 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-05/1.408, allocations: 34.72 kB / 0.6907 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.258e-05/1.408, allocations: 10.16 kB / 0.6907 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-05/1.408, allocations: 14.2 kB / 0.6907 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/1.437, allocations: 15.55 MB / 0.7059 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.437, allocations: 0 / 0.7059 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.439, allocations: 390.4 kB / 0.7063 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008538/1.447, allocations: 3.173 MB / 0.7094 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005004/1.448, allocations: 43.98 kB / 0.7094 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/1.466, allocations: 15.76 MB / 0.7248 GB, free: 85.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.466, allocations: 4 kB / 0.7248 GB, free: 85.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/1.484, allocations: 12.13 MB / 0.7367 GB, free: 73.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.487, allocations: 0.9368 MB / 0.7376 GB, free: 72.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.488, allocations: 47.98 kB / 0.7376 GB, free: 72.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/1.49, allocations: 187.7 kB / 0.7378 GB, free: 72.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.491, allocations: 153.7 kB / 0.738 GB, free: 72.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.491, allocations: 68 kB / 0.738 GB, free: 72.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004018/1.495, allocations: 2.749 MB / 0.7407 GB, free: 69.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.495, allocations: 0 / 0.7407 GB, free: 69.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007092/1.502, allocations: 1.37 MB / 0.7421 GB, free: 68.16 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.0007044/1.503, allocations: 192.8 kB / 0.7422 GB, free: 67.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.019/1.522, allocations: 10.92 MB / 0.7529 GB, free: 57.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.522, allocations: 4 kB / 0.7529 GB, free: 57.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00475/1.527, allocations: 3.313 MB / 0.7561 GB, free: 53.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.53, allocations: 0.5046 MB / 0.7566 GB, free: 53.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.55, allocations: 12.03 MB / 0.7684 GB, free: 41.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.553, allocations: 3.674 MB / 0.772 GB, free: 37.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004976/1.558, allocations: 2.178 MB / 0.7741 GB, free: 35.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/1.559, allocations: 291.4 kB / 0.7744 GB, free: 35.06 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/1.559, allocations: 3.938 kB / 0.7744 GB, free: 35.06 MB / 494.1 MB Notification: Performance of Templates: time 0.3457/1.905, allocations: 60.47 MB / 0.8334 GB, free: 132.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)