Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.002016/0.002016, allocations: 108.8 kB / 18.45 MB, free: 4.602 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.002632/0.002632, allocations: 187 kB / 19.39 MB, free: 3.676 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.382/1.382, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2533/0.2533, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4842, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01559/0.4998, allocations: 13.28 MB / 0.5325 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.5118, allocations: 4.84 MB / 0.5373 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.5152, allocations: 80.44 kB / 0.5373 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008301/0.5235, allocations: 3.987 MB / 0.5412 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007898/0.5315, allocations: 2.263 MB / 0.5434 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.5355, allocations: 1.183 MB / 0.5446 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.5469, allocations: 5.736 MB / 0.5502 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009748/0.5567, allocations: 5.176 MB / 0.5553 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005295/0.5621, allocations: 2.177 MB / 0.5574 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00547/0.5676, allocations: 2.972 MB / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.5698, allocations: 0.4961 MB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.5759, allocations: 1.658 MB / 0.5624 GB, free: 44 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004525/0.5805, allocations: 2.685 MB / 0.565 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006435/0.5869, allocations: 3.022 MB / 0.568 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.6014, allocations: 9.944 MB / 0.5777 GB, free: 344 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6014, allocations: 0 / 0.5777 GB, free: 344 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6015, allocations: 0 / 0.5777 GB, free: 344 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004144/0.6019, allocations: 4 kB / 0.5777 GB, free: 340 kB / 430.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.02276/0.6247, allocations: 6.523 MB / 0.584 GB, free: 9.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/0.6248, allocations: 8.031 kB / 0.5841 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.6435, allocations: 2.716 MB / 0.5867 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.6542, allocations: 3.697 MB / 0.5903 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.6547, allocations: 350.2 kB / 0.5907 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.6568, allocations: 439.6 kB / 0.5911 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.6889, allocations: 13.84 MB / 0.6046 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004621/0.6894, allocations: 55.53 kB / 0.6046 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/0.6918, allocations: 195.8 kB / 0.6048 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004359/0.6961, allocations: 2.418 MB / 0.6072 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/0.7241, allocations: 11.77 MB / 0.6187 GB, free: 5.316 MB / 478.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.08027/0.8044, allocations: 51.53 MB / 0.669 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.8181, allocations: 4.734 MB / 0.6736 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/0.8229, allocations: 2.956 MB / 0.6765 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02525/0.8482, allocations: 12.86 MB / 0.6891 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.146e-05/0.8483, allocations: 63.81 kB / 0.6891 GB, free: 10.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 7.124e-06/0.8483, allocations: 0 / 0.6891 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.4975/1.346, allocations: 43.39 MB / 0.7315 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/1.346, allocations: 237.5 kB / 0.7317 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007563/1.354, allocations: 4.774 MB / 0.7364 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.354, allocations: 61.27 kB / 0.7364 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/1.356, allocations: 3.842 MB / 0.7402 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.357, allocations: 0.9431 MB / 0.7411 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/1.359, allocations: 1.502 MB / 0.7426 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/1.359, allocations: 308.9 kB / 0.7429 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/1.364, allocations: 3.442 MB / 0.7462 GB, free: 156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005769/1.369, allocations: 7.704 MB / 0.7538 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.381, allocations: 11.87 MB / 0.7654 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/1.381, allocations: 44.56 kB / 0.7654 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02863/1.409, allocations: 14.48 MB / 0.7795 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.41, allocations: 68 kB / 0.7796 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/1.41, allocations: 148 kB / 0.7797 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/1.422, allocations: 4.028 MB / 0.7837 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/1.427, allocations: 1.626 MB / 0.7853 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/1.453, allocations: 19.85 MB / 0.8046 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009324/1.462, allocations: 463.2 kB / 0.8051 GB, free: 95.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.464, allocations: 437.9 kB / 0.8055 GB, free: 95.07 MB / 0.5606 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.006679/1.471, allocations: 2.653 MB / 0.8081 GB, free: 92.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/1.473, allocations: 427.3 kB / 0.8085 GB, free: 91.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/1.493, allocations: 8.64 MB / 0.8169 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.493, allocations: 15.52 kB / 0.817 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.493, allocations: 4 kB / 0.817 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.495, allocations: 471.3 kB / 0.8174 GB, free: 82.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.496, allocations: 36 kB / 0.8174 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/1.499, allocations: 191.7 kB / 0.8176 GB, free: 82.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.5, allocations: 193.7 kB / 0.8178 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01821/1.518, allocations: 8.557 MB / 0.8262 GB, free: 73.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01196/1.53, allocations: 9.295 MB / 0.8352 GB, free: 64.56 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003005/1.533, allocations: 2.549 MB / 0.8377 GB, free: 62.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00655/1.54, allocations: 2.977 MB / 0.8406 GB, free: 59.04 MB / 0.5606 GB Notification: Performance of Backend: time 7.91e-07/1.54, allocations: 0 / 0.8406 GB, free: 59.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01605/1.556, allocations: 6.273 MB / 0.8468 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02268/1.579, allocations: 11.77 MB / 0.8583 GB, free: 41.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.1261/1.705, allocations: 72.82 MB / 0.9294 GB, free: 464 kB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)