Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007735/0.007734, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.486/1.486, allocations: 170.8 MB / 186.6 MB, free: 0.9609 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001886/0.001886, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4031/0.4031, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 48.71 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4881, allocations: 93.65 MB / 0.4934 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4884, allocations: 81.64 kB / 0.4935 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1829/0.6714, allocations: 74.45 MB / 0.5662 GB, free: 4.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.179e-06/0.6715, allocations: 0 / 0.5662 GB, free: 4.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.6717, allocations: 72 kB / 0.5662 GB, free: 4.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0121/0.6838, allocations: 3.755 MB / 0.5699 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.6838, allocations: 12.03 kB / 0.5699 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.6883, allocations: 0.6654 MB / 0.5706 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.6943, allocations: 2.194 MB / 0.5727 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.6947, allocations: 299.8 kB / 0.573 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.6963, allocations: 379.9 kB / 0.5734 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.7189, allocations: 8.563 MB / 0.5817 GB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.898e-05/0.719, allocations: 19.81 kB / 0.5817 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005472/0.7196, allocations: 175.9 kB / 0.5819 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001496/0.7211, allocations: 0.7798 MB / 0.5827 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2448/0.9659, allocations: 6.772 MB / 0.5893 GB, free: 89.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03718/1.003, allocations: 27.73 MB / 0.6164 GB, free: 77.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006206/1.009, allocations: 1.938 MB / 0.6182 GB, free: 77.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008776/1.018, allocations: 6.347 MB / 0.6244 GB, free: 74.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.018, allocations: 46.17 kB / 0.6245 GB, free: 74.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 3.337e-06/1.018, allocations: 0 / 0.6245 GB, free: 74.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01566/1.034, allocations: 6.295 MB / 0.6306 GB, free: 72.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.034, allocations: 142.2 kB / 0.6308 GB, free: 71.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/1.037, allocations: 2.194 MB / 0.6329 GB, free: 71.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/1.038, allocations: 41.8 kB / 0.633 GB, free: 71.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.039, allocations: 2.397 MB / 0.6353 GB, free: 69.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/1.039, allocations: 391.1 kB / 0.6357 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.039, allocations: 80.38 kB / 0.6357 GB, free: 68.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/1.04, allocations: 462.3 kB / 0.6362 GB, free: 68.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.041, allocations: 0.9308 MB / 0.6371 GB, free: 68.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.044, allocations: 3.225 MB / 0.6402 GB, free: 64.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/1.046, allocations: 1.677 MB / 0.6419 GB, free: 64.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.664e-05/1.046, allocations: 24.03 kB / 0.6419 GB, free: 64.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.008559/1.055, allocations: 4.057 MB / 0.6459 GB, free: 62.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/1.055, allocations: 40.84 kB / 0.6459 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.055, allocations: 87.19 kB / 0.646 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/1.055, allocations: 120.4 kB / 0.6461 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.058, allocations: 0.8945 MB / 0.647 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/1.058, allocations: 158.4 kB / 0.6471 GB, free: 62.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.06, allocations: 171.4 kB / 0.6473 GB, free: 62.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/1.061, allocations: 229.8 kB / 0.6475 GB, free: 62.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (480): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002606/1.063, allocations: 1.577 MB / 0.6491 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/1.064, allocations: 220.5 kB / 0.6493 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.065, allocations: 1.125 MB / 0.6504 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.065, allocations: 9.5 kB / 0.6504 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.065, allocations: 0 / 0.6504 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.065, allocations: 10.77 kB / 0.6504 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/1.074, allocations: 6.148 MB / 0.6564 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.074, allocations: 19.53 kB / 0.6564 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/1.074, allocations: 241.5 kB / 0.6566 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/1.074, allocations: 34.25 kB / 0.6567 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/1.074, allocations: 49.94 kB / 0.6567 GB, free: 58.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/1.075, allocations: 38.39 kB / 0.6568 GB, free: 58.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/1.075, allocations: 31.06 kB / 0.6568 GB, free: 58.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/1.077, allocations: 3.766 MB / 0.6605 GB, free: 54.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/1.077, allocations: 321.4 kB / 0.6608 GB, free: 54.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/1.078, allocations: 54.56 kB / 0.6608 GB, free: 54.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/1.078, allocations: 46.77 kB / 0.6609 GB, free: 54.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.078, allocations: 155.2 kB / 0.661 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/1.078, allocations: 60.72 kB / 0.6611 GB, free: 53.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001983/1.08, allocations: 1.604 MB / 0.6626 GB, free: 53.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 0.6626 GB, free: 53.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003367/1.084, allocations: 0.6501 MB / 0.6633 GB, free: 53.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * 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 (133): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002981/1.084, allocations: 203.1 kB / 0.6635 GB, free: 53.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003188/1.087, allocations: 2.298 MB / 0.6657 GB, free: 52.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.087, allocations: 3.312 kB / 0.6657 GB, free: 52.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/1.088, allocations: 0.5828 MB / 0.6663 GB, free: 52.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.089, allocations: 307.6 kB / 0.6666 GB, free: 52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.101, allocations: 8.231 MB / 0.6746 GB, free: 46.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/1.103, allocations: 2.809 MB / 0.6774 GB, free: 45.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002527/1.106, allocations: 1.005 MB / 0.6783 GB, free: 45.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/1.106, allocations: 168.6 kB / 0.6785 GB, free: 45.68 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/1.106, allocations: 3.562 kB / 0.6785 GB, free: 45.68 MB / 426.7 MB Notification: Performance of Templates: time 0.03718/1.143, allocations: 18.8 MB / 0.6969 GB, free: 42.05 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)