Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.4 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.000886, allocations: 87.91 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.169e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5816, allocations: 100.7 MB / 0.6001 GB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.582, allocations: 79.72 kB / 0.6002 GB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08088/0.6629, allocations: 30.59 MB / 0.6301 GB, free: 5.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.663, allocations: 0 / 0.6301 GB, free: 5.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.48e-05/0.663, allocations: 28 kB / 0.6301 GB, free: 5.656 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.006427/0.6695, allocations: 2.001 MB / 0.6321 GB, free: 3.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.6696, allocations: 12.03 kB / 0.6321 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.6706, allocations: 312.4 kB / 0.6324 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.6724, allocations: 317.2 kB / 0.6327 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.6751, allocations: 1.045 MB / 0.6337 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6752, allocations: 119.2 kB / 0.6338 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.6756, allocations: 163.9 kB / 0.634 GB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008493/0.6841, allocations: 4.237 MB / 0.6381 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.6842, allocations: 11.88 kB / 0.6381 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.6844, allocations: 71.97 kB / 0.6382 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005721/0.685, allocations: 426.4 kB / 0.6386 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007864/0.6929, allocations: 3.532 MB / 0.642 GB, free: 9.059 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.7113, allocations: 14.54 MB / 0.6562 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.7154, allocations: 1.211 MB / 0.6574 GB, free: 8.918 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008932/0.7163, allocations: 0.682 MB / 0.6581 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/0.7215, allocations: 3.718 MB / 0.6617 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7215, allocations: 46.84 kB / 0.6618 GB, free: 4.203 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.7215, allocations: 0 / 0.6618 GB, free: 4.203 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.005644/0.7272, allocations: 1.447 MB / 0.6632 GB, free: 2.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.7273, allocations: 55.41 kB / 0.6632 GB, free: 2.684 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.7292, allocations: 1.315 MB / 0.6645 GB, free: 1.355 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.7292, allocations: 37.7 kB / 0.6645 GB, free: 1.312 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.7301, allocations: 1.193 MB / 0.6657 GB, free: 100 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.7303, allocations: 170.2 kB / 0.6659 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.7304, allocations: 44 kB / 0.6659 GB, free: 15.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.7306, allocations: 438.9 kB / 0.6663 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.7313, allocations: 472.1 kB / 0.6668 GB, free: 14.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.7328, allocations: 1.859 MB / 0.6686 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.734, allocations: 0.8936 MB / 0.6695 GB, free: 11.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/0.734, allocations: 16 kB / 0.6695 GB, free: 11.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003301/0.7374, allocations: 2.212 MB / 0.6716 GB, free: 9.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.7374, allocations: 28 kB / 0.6717 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/0.7375, allocations: 48 kB / 0.6717 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.281e-05/0.7376, allocations: 80.59 kB / 0.6718 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7389, allocations: 0.4912 MB / 0.6723 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.958e-05/0.739, allocations: 99.59 kB / 0.6724 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7402, allocations: 292.9 kB / 0.6727 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.7404, allocations: 132 kB / 0.6728 GB, free: 8.113 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.000314/0.7407, allocations: 299.6 kB / 0.6731 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.7409, allocations: 126.4 kB / 0.6732 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.7412, allocations: 148.6 kB / 0.6733 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.7412, allocations: 11.89 kB / 0.6733 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7413, allocations: 3.938 kB / 0.6733 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.7413, allocations: 3.984 kB / 0.6733 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.7453, allocations: 2.829 MB / 0.6761 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.7454, allocations: 12.19 kB / 0.6761 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.7456, allocations: 99.83 kB / 0.6762 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.93e-05/0.7457, allocations: 16 kB / 0.6762 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.7457, allocations: 24 kB / 0.6763 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7457, allocations: 15.94 kB / 0.6763 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/0.7458, allocations: 23.83 kB / 0.6763 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.7472, allocations: 1.506 MB / 0.6778 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.7475, allocations: 215.3 kB / 0.678 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7476, allocations: 28 kB / 0.678 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.748, allocations: 23.92 kB / 0.678 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.7481, allocations: 71.73 kB / 0.6781 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.7481, allocations: 24 kB / 0.6781 GB, free: 1.859 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.7494, allocations: 0.8919 MB / 0.679 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7494, allocations: 0 / 0.679 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001697/0.7511, allocations: 406.6 kB / 0.6794 GB, free: 0.5664 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.003528/0.7546, allocations: 5.268 MB / 0.6845 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.7569, allocations: 1.155 MB / 0.6856 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/0.757, allocations: 4 kB / 0.6856 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.7573, allocations: 222.6 kB / 0.6859 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.7584, allocations: 185.6 kB / 0.686 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.7649, allocations: 2.91 MB / 0.6889 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.7663, allocations: 1.563 MB / 0.6904 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001541/0.7679, allocations: 0.5659 MB / 0.691 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.7687, allocations: 0.6164 MB / 0.6916 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.7687, allocations: 0 / 0.6916 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3411/1.11, allocations: 23.5 MB / 0.7145 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/1.11, allocations: 149.4 kB / 0.7146 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.739, allocations: 0 / 0.7146 GB, free: 154.3 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat