Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_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.001397/0.001396, allocations: 105.2 kB / 17.08 MB, free: 5.82 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.001376/0.001376, allocations: 199.3 kB / 18.02 MB, free: 4.965 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2051/0.2051, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.88 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01389/0.1255, allocations: 13.31 MB / 0.5016 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1365, allocations: 4.837 MB / 0.5063 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.1391, allocations: 83.81 kB / 0.5064 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007444/0.1467, allocations: 3.987 MB / 0.5103 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.1529, allocations: 2.194 MB / 0.5124 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.1559, allocations: 1.193 MB / 0.5136 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008339/0.1642, allocations: 5.58 MB / 0.519 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008176/0.1724, allocations: 5.182 MB / 0.5241 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/0.177, allocations: 2.189 MB / 0.5262 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005518/0.1826, allocations: 2.976 MB / 0.5291 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002009/0.1846, allocations: 0.5 MB / 0.5296 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2476/0.4322, allocations: 1.648 MB / 0.5312 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.4361, allocations: 2.686 MB / 0.5338 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003885/0.44, allocations: 3.026 MB / 0.5368 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.4536, allocations: 9.949 MB / 0.5465 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4537, allocations: 0.5938 kB / 0.5465 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4537, allocations: 3.844 kB / 0.5465 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002656/0.4539, allocations: 0.5312 kB / 0.5465 GB, free: 10.74 MB / 414.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.01478/0.4687, allocations: 6.532 MB / 0.5529 GB, free: 8.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4688, allocations: 12.8 kB / 0.5529 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.4848, allocations: 2.714 MB / 0.5555 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.4941, allocations: 3.791 MB / 0.5593 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.4944, allocations: 351.5 kB / 0.5596 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.4959, allocations: 432.2 kB / 0.56 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.5202, allocations: 13.84 MB / 0.5735 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.5204, allocations: 66.27 kB / 0.5736 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005603/0.5209, allocations: 200.1 kB / 0.5738 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003129/0.5241, allocations: 2.411 MB / 0.5761 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.5463, allocations: 11.75 MB / 0.5876 GB, free: 3.242 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.06822/0.6146, allocations: 51.54 MB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.6273, allocations: 4.735 MB / 0.6426 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/0.6314, allocations: 2.969 MB / 0.6455 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02139/0.6528, allocations: 12.85 MB / 0.658 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.6529, allocations: 65.28 kB / 0.6581 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.28e-06/0.6529, allocations: 0 / 0.6581 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1645/0.8174, allocations: 43.44 MB / 0.7005 GB, free: 14.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8176, allocations: 234.2 kB / 0.7007 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009914/0.8275, allocations: 4.794 MB / 0.7054 GB, free: 9.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007465/0.8283, allocations: 65.7 kB / 0.7055 GB, free: 9.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003293/0.8316, allocations: 3.836 MB / 0.7092 GB, free: 5.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.8331, allocations: 0.9367 MB / 0.7101 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003844/0.837, allocations: 1.507 MB / 0.7116 GB, free: 2.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8371, allocations: 305.1 kB / 0.7119 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/0.8428, allocations: 3.446 MB / 0.7153 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009192/0.852, allocations: 7.71 MB / 0.7228 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/0.8674, allocations: 11.87 MB / 0.7344 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/0.8676, allocations: 47.94 kB / 0.7344 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03437/0.902, allocations: 14.48 MB / 0.7486 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.9022, allocations: 68 kB / 0.7486 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/0.9025, allocations: 152.9 kB / 0.7488 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/0.9152, allocations: 4.025 MB / 0.7527 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005957/0.9212, allocations: 1.634 MB / 0.7543 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2785/1.2, allocations: 19.84 MB / 0.7737 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/1.206, allocations: 461.7 kB / 0.7741 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.208, allocations: 437.1 kB / 0.7745 GB, free: 199.5 MB / 0.5919 GB 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.00502/1.213, allocations: 2.663 MB / 0.7771 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000843/1.214, allocations: 428.9 kB / 0.7775 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.231, allocations: 8.638 MB / 0.786 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/1.231, allocations: 15.33 kB / 0.786 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.231, allocations: 3.875 kB / 0.786 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/1.234, allocations: 0.9637 MB / 0.7869 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008222/1.235, allocations: 38.56 kB / 0.787 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.237, allocations: 193.4 kB / 0.7871 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/1.238, allocations: 189.4 kB / 0.7873 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01558/1.253, allocations: 8.546 MB / 0.7957 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009686/1.263, allocations: 9.291 MB / 0.8047 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002496/1.266, allocations: 2.563 MB / 0.8073 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004168/1.27, allocations: 3.001 MB / 0.8102 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of Backend: time 3.61e-07/1.27, allocations: 0 / 0.8102 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.281, allocations: 6.269 MB / 0.8163 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01781/1.299, allocations: 11.79 MB / 0.8278 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1083/1.407, allocations: 73.63 MB / 0.8997 GB, free: 89.16 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)