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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9254/0.9254, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1441/0.1441, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.15e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1438/0.1438, allocations: 12.6 MB / 311.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.1531, allocations: 4.901 MB / 316.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.1556, allocations: 95.81 kB / 316.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.1599, allocations: 4.208 MB / 320.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.1645, allocations: 2.363 MB / 323.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.1665, allocations: 1.31 MB / 324.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005707/0.1722, allocations: 6.232 MB / 330.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004785/0.177, allocations: 4.576 MB / 335.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/0.1822, allocations: 3.696 MB / 339.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.1857, allocations: 3.133 MB / 342.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009036/0.1866, allocations: 0.5 MB / 342.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.1888, allocations: 1.642 MB / 344.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.191, allocations: 2.876 MB / 347.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.1932, allocations: 1.807 MB / 349.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.1999, allocations: 6.38 MB / 355.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1999, allocations: 0 / 355.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1999, allocations: 0 / 355.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.2001, allocations: 0 / 355.4 MB, free: 5.672 MB / 314.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.008385/0.2085, allocations: 6.025 MB / 361.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2086, allocations: 8.031 kB / 361.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.2122, allocations: 1.363 MB / 362.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.2154, allocations: 2.615 MB / 365.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.2156, allocations: 373.8 kB / 365.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.2161, allocations: 424.3 kB / 366.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007615/0.2237, allocations: 6.631 MB / 372.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.68e-05/0.2238, allocations: 55.55 kB / 372.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.2241, allocations: 199.8 kB / 373.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/0.226, allocations: 2.176 MB / 375.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006213/0.2322, allocations: 3.382 MB / 378.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/0.2651, allocations: 39.29 MB / 418 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.2702, allocations: 2.27 MB / 420.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.271, allocations: 0.5473 MB / 420.8 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008253/0.2792, allocations: 5.445 MB / 426.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.2793, allocations: 63.44 kB / 426.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=178): time 3.356e-06/0.2793, allocations: 0 / 426.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.02981/0.3091, allocations: 11.62 MB / 437.9 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.3092, allocations: 227.6 kB / 438.1 MB, free: 416 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004982/0.3142, allocations: 3.78 MB / 441.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.3144, allocations: 57.7 kB / 442 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.3168, allocations: 3.814 MB / 445.8 MB, free: 8.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/0.3177, allocations: 0.8875 MB / 446.7 MB, free: 7.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.3193, allocations: 1.39 MB / 448.1 MB, free: 6.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.3194, allocations: 305.1 kB / 448.4 MB, free: 6.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.3217, allocations: 0.9229 MB / 449.3 MB, free: 5.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/0.3263, allocations: 5.227 MB / 454.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.3337, allocations: 6.755 MB / 461.3 MB, free: 4.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.3338, allocations: 52 kB / 461.3 MB, free: 4.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.1894/0.5232, allocations: 5.196 MB / 466.5 MB, free: 128.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.5234, allocations: 72.19 kB / 466.6 MB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002939/0.5237, allocations: 154.3 kB / 466.7 MB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.526, allocations: 0.6798 MB / 467.4 MB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00513/0.5312, allocations: 1.704 MB / 469.1 MB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/0.5361, allocations: 3.205 MB / 472.3 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/0.5408, allocations: 321 kB / 472.6 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/0.542, allocations: 379 kB / 473 MB, free: 127.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * 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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002755/0.5447, allocations: 0.7119 MB / 473.7 MB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.5458, allocations: 277.7 kB / 474 MB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.5486, allocations: 1.459 MB / 475.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.5486, allocations: 24.22 kB / 475.5 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5486, allocations: 7.578 kB / 475.5 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.5487, allocations: 14.67 kB / 475.5 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5589, allocations: 5.844 MB / 481.3 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.5589, allocations: 7.75 kB / 481.3 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.5598, allocations: 342.2 kB / 481.7 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.5612, allocations: 0.6614 MB / 482.3 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.5614, allocations: 41.44 kB / 482.4 MB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.564, allocations: 2.312 MB / 484.7 MB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.564, allocations: 11.56 kB / 484.7 MB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.5673, allocations: 2.596 MB / 487.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.5686, allocations: 0.5322 MB / 487.8 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.5689, allocations: 43.05 kB / 487.9 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.5697, allocations: 55.23 kB / 487.9 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.57, allocations: 150.2 kB / 488.1 MB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/0.5701, allocations: 49.25 kB / 488.1 MB, free: 123.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001733/0.5718, allocations: 1.409 MB / 489.5 MB, free: 123 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5718, allocations: 0 / 489.5 MB, free: 123 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005089/0.5769, allocations: 1.357 MB / 490.9 MB, free: 122.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005527/0.5774, allocations: 241.7 kB / 491.1 MB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00497/0.5824, allocations: 3.137 MB / 494.3 MB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000229/0.5826, allocations: 109.7 kB / 494.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.5836, allocations: 0.7633 MB / 495.1 MB, free: 121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.5863, allocations: 0.7665 MB / 495.9 MB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.599, allocations: 9.597 MB / 0.4936 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.6006, allocations: 1.624 MB / 0.4952 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001676/0.6023, allocations: 0.5875 MB / 0.4958 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/0.6031, allocations: 0.6567 MB / 0.4964 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.344e-06/0.6031, allocations: 0 / 0.4964 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05747/0.6606, allocations: 42.18 MB / 0.5376 GB, free: 67 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.393004343379289]