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.001309/0.001309, allocations: 113.2 kB / 17.09 MB, free: 5.984 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.001325/0.001325, allocations: 200.2 kB / 18.02 MB, free: 5.062 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.554/1.554, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2119/0.2119, allocations: 43.53 MB / 314.8 MB, free: 432 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.001688/0.001689, allocations: 73.44 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01381/0.1305, allocations: 13.31 MB / 0.5016 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009718/0.1402, allocations: 4.837 MB / 0.5063 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.1427, allocations: 83.75 kB / 0.5064 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006928/0.1497, allocations: 3.991 MB / 0.5103 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.1556, allocations: 2.257 MB / 0.5125 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.1585, allocations: 1.189 MB / 0.5136 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008753/0.1672, allocations: 5.58 MB / 0.5191 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008436/0.1757, allocations: 5.182 MB / 0.5241 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004821/0.1805, allocations: 2.193 MB / 0.5263 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005411/0.186, allocations: 2.979 MB / 0.5292 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.1878, allocations: 0.5 MB / 0.5297 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3265/0.5143, allocations: 1.634 MB / 0.5313 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005643/0.52, allocations: 2.691 MB / 0.5339 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008892/0.5289, allocations: 3.024 MB / 0.5369 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.55, allocations: 9.957 MB / 0.5466 GB, free: 10.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5501, allocations: 1.25 kB / 0.5466 GB, free: 10.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5501, allocations: 3.656 kB / 0.5466 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004307/0.5505, allocations: 0 / 0.5466 GB, free: 10.65 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.02873/0.5793, allocations: 6.521 MB / 0.5529 GB, free: 8.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5793, allocations: 13.23 kB / 0.553 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/0.5995, allocations: 2.716 MB / 0.5556 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.6108, allocations: 3.796 MB / 0.5593 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/0.6113, allocations: 353.6 kB / 0.5597 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.614, allocations: 443 kB / 0.5601 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.648, allocations: 13.85 MB / 0.5736 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003216/0.6484, allocations: 58.69 kB / 0.5737 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002427/0.6508, allocations: 199.5 kB / 0.5738 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004014/0.6548, allocations: 2.401 MB / 0.5762 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/0.6829, allocations: 11.76 MB / 0.5877 GB, free: 3.086 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.08156/0.7645, allocations: 51.54 MB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.7789, allocations: 4.737 MB / 0.6426 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005013/0.784, allocations: 2.96 MB / 0.6455 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02575/0.8097, allocations: 12.87 MB / 0.6581 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.8098, allocations: 61.92 kB / 0.6581 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.61e-06/0.8099, allocations: 0 / 0.6581 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1754/0.9853, allocations: 43.44 MB / 0.7006 GB, free: 14.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.9854, allocations: 227.6 kB / 0.7008 GB, free: 13.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/0.9974, allocations: 4.798 MB / 0.7055 GB, free: 8.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008581/0.9983, allocations: 61.7 kB / 0.7055 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/1.002, allocations: 3.834 MB / 0.7093 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.004, allocations: 0.937 MB / 0.7102 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006164/1.01, allocations: 1.511 MB / 0.7117 GB, free: 2.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.01, allocations: 305.1 kB / 0.712 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007278/1.018, allocations: 3.446 MB / 0.7153 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/1.029, allocations: 7.709 MB / 0.7228 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/1.046, allocations: 11.88 MB / 0.7344 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/1.047, allocations: 44 kB / 0.7345 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03787/1.084, allocations: 14.48 MB / 0.7486 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/1.085, allocations: 72 kB / 0.7487 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000321/1.085, allocations: 148 kB / 0.7488 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/1.099, allocations: 4.017 MB / 0.7528 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006405/1.105, allocations: 1.638 MB / 0.7544 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3222/1.428, allocations: 19.84 MB / 0.7737 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/1.435, allocations: 456.1 kB / 0.7742 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.437, allocations: 433.4 kB / 0.7746 GB, free: 199.3 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.005368/1.442, allocations: 2.668 MB / 0.7772 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.443, allocations: 428.2 kB / 0.7776 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.462, allocations: 8.646 MB / 0.786 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/1.462, allocations: 11.72 kB / 0.7861 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.462, allocations: 0 / 0.7861 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/1.465, allocations: 0.9595 MB / 0.787 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.466, allocations: 40.75 kB / 0.787 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.469, allocations: 191 kB / 0.7872 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/1.47, allocations: 195.5 kB / 0.7874 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01749/1.487, allocations: 8.54 MB / 0.7957 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01083/1.498, allocations: 9.291 MB / 0.8048 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00282/1.501, allocations: 2.562 MB / 0.8073 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004667/1.506, allocations: 2.997 MB / 0.8102 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of Backend: time 1.012e-06/1.506, allocations: 0 / 0.8102 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.519, allocations: 6.278 MB / 0.8164 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02022/1.539, allocations: 11.8 MB / 0.8279 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.112/1.651, allocations: 72.9 MB / 0.8991 GB, free: 89.78 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)