Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",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.001449/0.001449, allocations: 182.9 kB / 13.19 MB, free: 2.121 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.528/1.528, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008898/0.0008897, allocations: 97.27 kB / 267.1 MB, free: 9.266 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.3826/0.3826, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.808e-05/4.827e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.6188, allocations: 109.7 MB / 0.58 GB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.6191, allocations: 79.16 kB / 0.5801 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1762/0.7953, allocations: 72.74 MB / 0.6511 GB, free: 12.24 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.7954, allocations: 0 / 0.6511 GB, free: 12.24 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000263/0.7957, allocations: 76 kB / 0.6512 GB, free: 12.16 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01369/0.8094, allocations: 3.904 MB / 0.655 GB, free: 8.199 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.8094, allocations: 8.031 kB / 0.655 GB, free: 8.191 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00245/0.8119, allocations: 0.7006 MB / 0.6557 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.8164, allocations: 0.7202 MB / 0.6564 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/0.8238, allocations: 2.596 MB / 0.6589 GB, free: 4.105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.8242, allocations: 324.5 kB / 0.6592 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/0.8266, allocations: 415.9 kB / 0.6596 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.8491, allocations: 9.081 MB / 0.6685 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.912e-05/0.8493, allocations: 23.81 kB / 0.6685 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005289/0.8498, allocations: 191.9 kB / 0.6687 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.8514, allocations: 0.8077 MB / 0.6695 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.8685, allocations: 7.175 MB / 0.6765 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3885/1.257, allocations: 29.76 MB / 0.7055 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/1.264, allocations: 2.126 MB / 0.7076 GB, free: 93.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/1.266, allocations: 0.9286 MB / 0.7085 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.278, allocations: 6.734 MB / 0.7151 GB, free: 90.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.278, allocations: 42.72 kB / 0.7151 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 5.059e-06/1.278, allocations: 0 / 0.7151 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02099/1.299, allocations: 6.917 MB / 0.7219 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.299, allocations: 171.3 kB / 0.7221 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/1.304, allocations: 2.389 MB / 0.7244 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/1.305, allocations: 44.02 kB / 0.7244 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.306, allocations: 2.537 MB / 0.7269 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000565/1.307, allocations: 408.2 kB / 0.7273 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/1.307, allocations: 78.34 kB / 0.7274 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003118/1.308, allocations: 468.4 kB / 0.7278 GB, free: 85.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/1.31, allocations: 1.052 MB / 0.7289 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/1.312, allocations: 3.4 MB / 0.7322 GB, free: 82.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/1.315, allocations: 1.844 MB / 0.734 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-05/1.315, allocations: 25.72 kB / 0.734 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=506) (initialization): time 0.006636/1.322, allocations: 4.37 MB / 0.7383 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/1.322, allocations: 43.05 kB / 0.7383 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.624e-05/1.322, allocations: 82.47 kB / 0.7384 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/1.322, allocations: 128.5 kB / 0.7385 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.325, allocations: 0.9467 MB / 0.7394 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/1.325, allocations: 169.6 kB / 0.7396 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.328, allocations: 215.6 kB / 0.7398 GB, free: 81.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/1.329, allocations: 239.1 kB / 0.74 GB, free: 81.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (504): * Single equations (assignments): 503 * Array equations: 1 * 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.0006556/1.329, allocations: 423.4 kB / 0.7404 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006987/1.33, allocations: 237.3 kB / 0.7407 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/1.332, allocations: 1.16 MB / 0.7418 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.332, allocations: 10.38 kB / 0.7418 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.332, allocations: 7.234 kB / 0.7418 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.332, allocations: 5.375 kB / 0.7418 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.345, allocations: 6.808 MB / 0.7485 GB, free: 79.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-05/1.345, allocations: 21.91 kB / 0.7485 GB, free: 79.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.346, allocations: 290.1 kB / 0.7488 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-05/1.347, allocations: 33.03 kB / 0.7488 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.347, allocations: 65.16 kB / 0.7489 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.471e-05/1.347, allocations: 42.02 kB / 0.7489 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-05/1.347, allocations: 39.94 kB / 0.7489 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/1.35, allocations: 4.584 MB / 0.7534 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/1.351, allocations: 356.2 kB / 0.7538 GB, free: 75.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.352, allocations: 58.62 kB / 0.7538 GB, free: 75.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.353, allocations: 65.8 kB / 0.7539 GB, free: 75.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/1.353, allocations: 164.4 kB / 0.754 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.353, allocations: 71.23 kB / 0.7541 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003571/1.357, allocations: 1.751 MB / 0.7558 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/1.357, allocations: 1.344 kB / 0.7558 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005463/1.362, allocations: 0.7126 MB / 0.7565 GB, free: 75.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.005122/1.368, allocations: 10.97 MB / 0.7672 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005997/1.374, allocations: 2.572 MB / 0.7697 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-05/1.374, allocations: 4.281 kB / 0.7697 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.375, allocations: 0.708 MB / 0.7704 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.377, allocations: 342.6 kB / 0.7707 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.395, allocations: 7.457 MB / 0.778 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.397, allocations: 3.044 MB / 0.781 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003287/1.401, allocations: 1.047 MB / 0.782 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/1.403, allocations: 1.599 MB / 0.7836 GB, free: 57.93 MB / 0.4948 GB Notification: Performance of SimCode: time 9.61e-07/1.403, allocations: 3 kB / 0.7836 GB, free: 57.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.506, allocations: 54.13 MB / 0.8365 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.507, allocations: 151.5 kB / 0.8366 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.069/5.576, allocations: 3.938 kB / 0.8366 GB, free: 37.52 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat