Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",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.002095/0.002095, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001153/0.001153, allocations: 81.89 kB / 270.9 MB, free: 8.379 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.5067/0.5067, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006417, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1254, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6333, allocations: 108.2 MB / 0.5845 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.6337, allocations: 79.97 kB / 0.5846 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3496/0.9833, allocations: 76.46 MB / 0.6592 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.9833, allocations: 0 / 0.6592 GB, free: 13.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.9836, allocations: 75.92 kB / 0.6593 GB, free: 13.17 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01714/1.001, allocations: 3.972 MB / 0.6632 GB, free: 9.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.001, allocations: 12.03 kB / 0.6632 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002886/1.004, allocations: 0.6673 MB / 0.6639 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/1.01, allocations: 0.6776 MB / 0.6645 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008517/1.018, allocations: 2.228 MB / 0.6667 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/1.019, allocations: 291.7 kB / 0.667 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/1.02, allocations: 380.9 kB / 0.6673 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3829/1.403, allocations: 8.939 MB / 0.6761 GB, free: 97.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.404, allocations: 19.69 kB / 0.6761 GB, free: 97.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/1.405, allocations: 176 kB / 0.6763 GB, free: 97.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/1.408, allocations: 0.8369 MB / 0.6771 GB, free: 97.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/1.435, allocations: 7.298 MB / 0.6842 GB, free: 97.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07193/1.507, allocations: 29.12 MB / 0.7126 GB, free: 84.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.527, allocations: 2.286 MB / 0.7149 GB, free: 84.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02259/1.55, allocations: 7.6 MB / 0.7223 GB, free: 79.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/1.55, allocations: 43.86 kB / 0.7223 GB, free: 79.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 4.839e-06/1.55, allocations: 0 / 0.7223 GB, free: 79.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.04699/1.597, allocations: 7.142 MB / 0.7293 GB, free: 76.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/1.597, allocations: 142.8 kB / 0.7294 GB, free: 76.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006814/1.604, allocations: 2.357 MB / 0.7317 GB, free: 75.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/1.604, allocations: 45.55 kB / 0.7318 GB, free: 75.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.607, allocations: 2.402 MB / 0.7341 GB, free: 73.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006935/1.607, allocations: 395.2 kB / 0.7345 GB, free: 73.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/1.608, allocations: 76.5 kB / 0.7346 GB, free: 72.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/1.608, allocations: 474.6 kB / 0.735 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/1.611, allocations: 1.07 MB / 0.7361 GB, free: 72.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/1.616, allocations: 3.475 MB / 0.7395 GB, free: 68.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/1.621, allocations: 1.843 MB / 0.7413 GB, free: 67.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.621, allocations: 23.53 kB / 0.7413 GB, free: 67.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01149/1.632, allocations: 4.349 MB / 0.7455 GB, free: 66.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/1.632, allocations: 40.94 kB / 0.7456 GB, free: 66.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.633, allocations: 88.25 kB / 0.7457 GB, free: 66.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/1.633, allocations: 129.8 kB / 0.7458 GB, free: 66.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/1.638, allocations: 0.9533 MB / 0.7467 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001567/1.639, allocations: 167.3 kB / 0.7469 GB, free: 66.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.643, allocations: 206.5 kB / 0.7471 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008889/1.644, allocations: 239.5 kB / 0.7473 GB, free: 65.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (500): * Single equations (assignments): 500 * 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.004217/1.648, allocations: 1.592 MB / 0.7489 GB, free: 65.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007052/1.649, allocations: 233.1 kB / 0.7491 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/1.652, allocations: 1.379 MB / 0.7504 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.652, allocations: 11.8 kB / 0.7504 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.652, allocations: 11.31 kB / 0.7504 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.652, allocations: 3.891 kB / 0.7505 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.667, allocations: 6.175 MB / 0.7565 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.668, allocations: 15.25 kB / 0.7565 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.669, allocations: 247.2 kB / 0.7567 GB, free: 61.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/1.669, allocations: 25.03 kB / 0.7568 GB, free: 61.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/1.669, allocations: 41.72 kB / 0.7568 GB, free: 61.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/1.669, allocations: 31.45 kB / 0.7568 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/1.669, allocations: 29.09 kB / 0.7569 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/1.673, allocations: 3.591 MB / 0.7604 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.674, allocations: 334.8 kB / 0.7607 GB, free: 57.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/1.675, allocations: 47 kB / 0.7607 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.676, allocations: 50.03 kB / 0.7608 GB, free: 57.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.677, allocations: 134.7 kB / 0.7609 GB, free: 57.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.677, allocations: 54.95 kB / 0.761 GB, free: 57.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003847/1.681, allocations: 1.681 MB / 0.7626 GB, free: 56.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.681, allocations: 0 / 0.7626 GB, free: 56.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005137/1.686, allocations: 0.6869 MB / 0.7633 GB, free: 56.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (130): * Single equations (assignments): 130 * 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.005116/1.691, allocations: 8.677 MB / 0.7717 GB, free: 48.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/1.697, allocations: 2.538 MB / 0.7742 GB, free: 47.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/1.697, allocations: 0 / 0.7742 GB, free: 47.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/1.698, allocations: 0.6124 MB / 0.7748 GB, free: 47.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.701, allocations: 303.9 kB / 0.7751 GB, free: 47.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/1.742, allocations: 71.74 MB / 0.8452 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005788/1.748, allocations: 2.812 MB / 0.8479 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003867/1.752, allocations: 1.494 MB / 0.8494 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/1.752, allocations: 10.31 kB / 0.8494 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.258/6.01, allocations: 58.04 MB / 0.9061 GB, free: 117.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat