Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 181.6 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007123/0.0007124, allocations: 96.98 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3045/0.3045, allocations: 43.56 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 58.86 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/0.4014, allocations: 114.9 MB / 0.5922 GB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4017, allocations: 83.95 kB / 0.5922 GB, free: 3.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5225/0.9242, allocations: 121.8 MB / 0.7112 GB, free: 94.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.9242, allocations: 1.219 kB / 0.7112 GB, free: 94.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004164/0.9246, allocations: 111.4 kB / 0.7113 GB, free: 94.73 MB / 490.7 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.01888/0.9435, allocations: 5.81 MB / 0.717 GB, free: 92.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9436, allocations: 9.219 kB / 0.717 GB, free: 92.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.9613, allocations: 3.871 MB / 0.7208 GB, free: 91.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.9755, allocations: 5.506 MB / 0.7262 GB, free: 91.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/0.9761, allocations: 450.7 kB / 0.7266 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002622/0.9787, allocations: 0.5391 MB / 0.7271 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/1.009, allocations: 14.06 MB / 0.7409 GB, free: 85.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003847/1.009, allocations: 74.61 kB / 0.7409 GB, free: 85.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002856/1.012, allocations: 262.6 kB / 0.7412 GB, free: 85.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/1.014, allocations: 1.3 MB / 0.7424 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/1.037, allocations: 11.69 MB / 0.7539 GB, free: 81.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/1.098, allocations: 59.24 MB / 0.8117 GB, free: 34.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.109, allocations: 4.664 MB / 0.8163 GB, free: 29.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/1.112, allocations: 2.748 MB / 0.819 GB, free: 27.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/1.131, allocations: 12.5 MB / 0.8312 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/1.131, allocations: 51.88 kB / 0.8312 GB, free: 14.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 5.821e-06/1.131, allocations: 0 / 0.8312 GB, free: 14.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.3393/1.471, allocations: 39.61 MB / 0.8699 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/1.471, allocations: 228.1 kB / 0.8701 GB, free: 95.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008525/1.479, allocations: 4.805 MB / 0.8748 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005968/1.48, allocations: 63.61 kB / 0.8749 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002551/1.483, allocations: 3.91 MB / 0.8787 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.484, allocations: 0.9192 MB / 0.8796 GB, free: 92.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/1.484, allocations: 146.8 kB / 0.8797 GB, free: 92.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003588/1.485, allocations: 0.6053 MB / 0.8803 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.489, allocations: 3.253 MB / 0.8835 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00708/1.497, allocations: 7.552 MB / 0.8909 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.509, allocations: 11.61 MB / 0.9022 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/1.509, allocations: 42.41 kB / 0.9022 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03311/1.542, allocations: 13.88 MB / 0.9158 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003685/1.543, allocations: 70.33 kB / 0.9159 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004639/1.543, allocations: 150.2 kB / 0.916 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/1.555, allocations: 3.796 MB / 0.9197 GB, free: 74.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005496/1.56, allocations: 1.61 MB / 0.9213 GB, free: 74.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/1.584, allocations: 18.09 MB / 0.9389 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007408/1.591, allocations: 488.1 kB / 0.9394 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/1.593, allocations: 437.5 kB / 0.9398 GB, free: 66.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * 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 (859): * Single equations (assignments): 855 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007641/1.601, allocations: 2.661 MB / 0.9424 GB, free: 65.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.603, allocations: 433.2 kB / 0.9428 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.622, allocations: 8.146 MB / 0.9508 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/1.622, allocations: 26.73 kB / 0.9508 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/1.622, allocations: 14.09 kB / 0.9508 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-05/1.622, allocations: 10.59 kB / 0.9508 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03858/1.661, allocations: 17.46 MB / 0.9679 GB, free: 56.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-05/1.661, allocations: 0 / 0.9679 GB, free: 56.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.663, allocations: 394 kB / 0.9683 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/1.673, allocations: 3.856 MB / 0.972 GB, free: 55.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006201/1.674, allocations: 39.33 kB / 0.9721 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/1.695, allocations: 16.52 MB / 0.9882 GB, free: 41.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.695, allocations: 7.938 kB / 0.9882 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/1.717, allocations: 12.53 MB / 1 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00309/1.72, allocations: 0.9404 MB / 1.001 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.722, allocations: 39.98 kB / 1.001 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.725, allocations: 214 kB / 1.002 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007997/1.726, allocations: 146.3 kB / 1.002 GB, free: 28.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003632/1.726, allocations: 64.73 kB / 1.002 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00618/1.732, allocations: 2.991 MB / 1.005 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.412e-06/1.732, allocations: 0 / 1.005 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008658/1.741, allocations: 1.462 MB / 1.006 GB, free: 23.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/1.742, allocations: 215.4 kB / 1.006 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.755, allocations: 7.886 MB / 1.014 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.756, allocations: 8.875 kB / 1.014 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/1.76, allocations: 2.955 MB / 1.017 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/1.766, allocations: 0.5197 MB / 1.017 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/1.798, allocations: 15.56 MB / 1.033 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009404/1.808, allocations: 4.108 MB / 1.037 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.809, allocations: 335.4 kB / 1.037 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/1.809, allocations: 0 / 1.037 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.3899/2.199, allocations: 99.89 MB / 1.135 GB, free: 97.85 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)