Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002434/0.002433, allocations: 185.8 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001164/0.001163, allocations: 88.36 kB / 270.9 MB, free: 8.371 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.5241/0.5241, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006403, allocations: 12 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1311, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6377/0.7689, allocations: 107.6 MB / 0.5838 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/0.7693, allocations: 85.23 kB / 0.5839 GB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3314/1.101, allocations: 75.1 MB / 0.6573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.101, allocations: 3.938 kB / 0.6573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002324/1.101, allocations: 75.98 kB / 0.6573 GB, free: 15.21 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01631/1.117, allocations: 3.767 MB / 0.661 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.117, allocations: 8.031 kB / 0.661 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003132/1.121, allocations: 0.6632 MB / 0.6617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/1.127, allocations: 0.6698 MB / 0.6623 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/1.136, allocations: 2.208 MB / 0.6645 GB, free: 7.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004898/1.136, allocations: 299.8 kB / 0.6648 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.138, allocations: 379.9 kB / 0.6651 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3769/1.515, allocations: 8.578 MB / 0.6735 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/1.515, allocations: 16.59 kB / 0.6735 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/1.517, allocations: 176.4 kB / 0.6737 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/1.52, allocations: 0.7854 MB / 0.6745 GB, free: 97.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/1.546, allocations: 6.77 MB / 0.6811 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05475/1.6, allocations: 27.83 MB / 0.7082 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.611, allocations: 1.936 MB / 0.7101 GB, free: 85.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/1.623, allocations: 6.372 MB / 0.7164 GB, free: 81.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.623, allocations: 45.12 kB / 0.7164 GB, free: 81.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=77): time 4.349e-06/1.623, allocations: 0 / 0.7164 GB, free: 81.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.02955/1.653, allocations: 6.305 MB / 0.7226 GB, free: 78.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/1.653, allocations: 145.6 kB / 0.7227 GB, free: 78.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/1.659, allocations: 2.218 MB / 0.7249 GB, free: 77.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/1.659, allocations: 45.64 kB / 0.7249 GB, free: 77.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.662, allocations: 2.389 MB / 0.7272 GB, free: 76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006102/1.662, allocations: 377.6 kB / 0.7276 GB, free: 75.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/1.663, allocations: 79.94 kB / 0.7277 GB, free: 75.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000325/1.663, allocations: 465.7 kB / 0.7281 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.666, allocations: 0.9397 MB / 0.729 GB, free: 74.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.672, allocations: 3.249 MB / 0.7322 GB, free: 71.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/1.676, allocations: 1.683 MB / 0.7339 GB, free: 70.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.676, allocations: 26.31 kB / 0.7339 GB, free: 70.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01205/1.688, allocations: 4.001 MB / 0.7378 GB, free: 69.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/1.689, allocations: 48.75 kB / 0.7378 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/1.689, allocations: 81.59 kB / 0.7379 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/1.689, allocations: 125.4 kB / 0.738 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/1.695, allocations: 0.9018 MB / 0.7389 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/1.695, allocations: 162.8 kB / 0.7391 GB, free: 69.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.699, allocations: 172.5 kB / 0.7392 GB, free: 69.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007732/1.7, allocations: 230 kB / 0.7395 GB, free: 69.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 40 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (483): * Single equations (assignments): 483 * 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.004162/1.704, allocations: 1.58 MB / 0.741 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/1.705, allocations: 215.5 kB / 0.7412 GB, free: 68.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.708, allocations: 1.134 MB / 0.7423 GB, free: 67.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.708, allocations: 15.61 kB / 0.7423 GB, free: 67.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.708, allocations: 0 / 0.7423 GB, free: 67.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.708, allocations: 7.344 kB / 0.7423 GB, free: 67.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.722, allocations: 6.166 MB / 0.7484 GB, free: 64.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.722, allocations: 19.72 kB / 0.7484 GB, free: 64.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.724, allocations: 247.8 kB / 0.7486 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-05/1.724, allocations: 26.94 kB / 0.7486 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.724, allocations: 50.84 kB / 0.7487 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-05/1.724, allocations: 38.44 kB / 0.7487 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.041e-05/1.724, allocations: 30.84 kB / 0.7487 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/1.728, allocations: 3.787 MB / 0.7524 GB, free: 60.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.729, allocations: 330.5 kB / 0.7528 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006515/1.73, allocations: 54.56 kB / 0.7528 GB, free: 60.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.732, allocations: 46.95 kB / 0.7529 GB, free: 60.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.732, allocations: 141.8 kB / 0.753 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.732, allocations: 57.81 kB / 0.753 GB, free: 60.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003878/1.736, allocations: 1.62 MB / 0.7546 GB, free: 59.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.736, allocations: 2.438 kB / 0.7546 GB, free: 59.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005091/1.741, allocations: 0.6505 MB / 0.7553 GB, free: 59.82 MB / 490.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.005271/1.746, allocations: 9.627 MB / 0.7647 GB, free: 50.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005603/1.752, allocations: 2.305 MB / 0.7669 GB, free: 49.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/1.752, allocations: 3.438 kB / 0.7669 GB, free: 49.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.754, allocations: 0.5783 MB / 0.7675 GB, free: 49.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.756, allocations: 313.2 kB / 0.7678 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04133/1.797, allocations: 69.36 MB / 0.8355 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005977/1.803, allocations: 2.815 MB / 0.8383 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/1.807, allocations: 1.499 MB / 0.8397 GB, free: 12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/1.807, allocations: 3.188 kB / 0.8397 GB, free: 12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.536/6.343, allocations: 56.32 MB / 0.8947 GB, free: 118.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat