Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_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.001266/0.001266, allocations: 105.5 kB / 18.45 MB, free: 4.59 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.001394/0.001394, allocations: 184.3 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.448, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01443/0.4625, allocations: 11.98 MB / 0.5313 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.4728, allocations: 4.368 MB / 0.5355 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.4753, allocations: 74.88 kB / 0.5356 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005814/0.4811, allocations: 2.761 MB / 0.5383 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006295/0.4875, allocations: 2.089 MB / 0.5404 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.49, allocations: 1.01 MB / 0.5413 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007503/0.4975, allocations: 5.284 MB / 0.5465 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.5019, allocations: 3.44 MB / 0.5499 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.5048, allocations: 1.768 MB / 0.5516 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.5084, allocations: 2.445 MB / 0.554 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.5096, allocations: 368 kB / 0.5543 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5127, allocations: 1.42 MB / 0.5557 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002616/0.5153, allocations: 2.217 MB / 0.5579 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003703/0.519, allocations: 2.493 MB / 0.5603 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009215/0.5283, allocations: 8.102 MB / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5283, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5283, allocations: 0 / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.5285, allocations: 0 / 0.5682 GB, free: 10.08 MB / 430.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.01372/0.5423, allocations: 5.885 MB / 0.574 GB, free: 4.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5423, allocations: 8.031 kB / 0.574 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.5604, allocations: 2.634 MB / 0.5765 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007179/0.5676, allocations: 3.222 MB / 0.5797 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.5679, allocations: 258.8 kB / 0.5799 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.5691, allocations: 355.8 kB / 0.5803 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/0.5915, allocations: 12.36 MB / 0.5923 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.5917, allocations: 51.62 kB / 0.5924 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008126/0.5926, allocations: 167.8 kB / 0.5926 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/0.5966, allocations: 2.377 MB / 0.5949 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.6192, allocations: 10.84 MB / 0.6055 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06107/0.6803, allocations: 48.69 MB / 0.653 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/0.6966, allocations: 6.04 MB / 0.6589 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004094/0.7007, allocations: 3.307 MB / 0.6621 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/0.7201, allocations: 13.51 MB / 0.6753 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.7202, allocations: 59.86 kB / 0.6754 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 6.072e-06/0.7202, allocations: 4 kB / 0.6754 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1118/0.832, allocations: 36.57 MB / 0.7111 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.8322, allocations: 213.9 kB / 0.7113 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008732/0.8409, allocations: 4.374 MB / 0.7156 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006886/0.8417, allocations: 61.7 kB / 0.7156 GB, free: 24 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3056/1.147, allocations: 3.514 MB / 0.7191 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.149, allocations: 1.029 MB / 0.7201 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002466/1.152, allocations: 1.433 MB / 0.7215 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/1.152, allocations: 308.5 kB / 0.7218 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004974/1.157, allocations: 3.288 MB / 0.725 GB, free: 168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/1.163, allocations: 7.196 MB / 0.732 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/1.176, allocations: 11.24 MB / 0.743 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/1.176, allocations: 35.59 kB / 0.743 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0239/1.2, allocations: 13.29 MB / 0.756 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/1.2, allocations: 64 kB / 0.756 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/1.2, allocations: 143.8 kB / 0.7562 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008909/1.209, allocations: 3.407 MB / 0.7595 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/1.215, allocations: 1.571 MB / 0.761 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/1.237, allocations: 17.55 MB / 0.7782 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/1.243, allocations: 435 kB / 0.7786 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.245, allocations: 412 kB / 0.779 GB, free: 124.8 MB / 0.5606 GB 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.005822/1.251, allocations: 2.343 MB / 0.7813 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.252, allocations: 437.1 kB / 0.7817 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.268, allocations: 8.006 MB / 0.7895 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/1.269, allocations: 11.95 kB / 0.7895 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.269, allocations: 0 / 0.7895 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.27, allocations: 468.7 kB / 0.79 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.271, allocations: 51.25 kB / 0.79 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/1.274, allocations: 183.7 kB / 0.7902 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/1.275, allocations: 197.6 kB / 0.7904 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01357/1.288, allocations: 7.87 MB / 0.7981 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009738/1.298, allocations: 9.195 MB / 0.8071 GB, free: 96.09 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002489/1.301, allocations: 2.57 MB / 0.8096 GB, free: 93.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003479/1.304, allocations: 2.733 MB / 0.8122 GB, free: 90.78 MB / 0.5606 GB Notification: Performance of Backend: time 5.81e-07/1.304, allocations: 0 / 0.8122 GB, free: 90.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.315, allocations: 6.197 MB / 0.8183 GB, free: 84.63 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01488/1.33, allocations: 10.91 MB / 0.8289 GB, free: 73.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.09877/1.429, allocations: 69.58 MB / 0.8969 GB, free: 4.352 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)