Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",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.001053/0.001053, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.714/1.714, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001562/0.001563, allocations: 90.59 kB / 267.1 MB, free: 9.273 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.4655/0.4655, allocations: 43.46 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.393e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5725, allocations: 99.3 MB / 0.5699 GB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.5727, allocations: 83.27 kB / 0.57 GB, free: 6.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08703/0.6598, allocations: 35.24 MB / 0.6044 GB, free: 7.703 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6598, allocations: 0 / 0.6044 GB, free: 7.703 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.776e-05/0.6599, allocations: 40 kB / 0.6044 GB, free: 7.664 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.005364/0.6653, allocations: 2.217 MB / 0.6066 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.6653, allocations: 12.02 kB / 0.6066 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007858/0.6661, allocations: 364.7 kB / 0.6069 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.6679, allocations: 383.6 kB / 0.6073 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.6703, allocations: 1.156 MB / 0.6084 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.6704, allocations: 141.9 kB / 0.6086 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.6708, allocations: 195.4 kB / 0.6088 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/0.6806, allocations: 4.791 MB / 0.6134 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.6807, allocations: 11.88 kB / 0.6134 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.681, allocations: 91.45 kB / 0.6135 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000943/0.6819, allocations: 0.523 MB / 0.614 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.6904, allocations: 3.793 MB / 0.6177 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.7137, allocations: 16.72 MB / 0.6341 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/0.718, allocations: 1.271 MB / 0.6353 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.7189, allocations: 0.6989 MB / 0.636 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.7245, allocations: 4.074 MB / 0.64 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.7245, allocations: 46.48 kB / 0.64 GB, free: 6.684 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 4.058e-06/0.7245, allocations: 0 / 0.64 GB, free: 6.684 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.005489/0.73, allocations: 1.474 MB / 0.6415 GB, free: 5.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.7301, allocations: 106.8 kB / 0.6416 GB, free: 5.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.732, allocations: 1.407 MB / 0.6429 GB, free: 3.656 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.732, allocations: 37.7 kB / 0.643 GB, free: 3.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/0.7329, allocations: 1.402 MB / 0.6443 GB, free: 2.188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.733, allocations: 178 kB / 0.6445 GB, free: 2.012 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.7331, allocations: 44 kB / 0.6446 GB, free: 1.969 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.7333, allocations: 459.3 kB / 0.645 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.734, allocations: 0.4927 MB / 0.6455 GB, free: 1.016 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.7358, allocations: 2.027 MB / 0.6475 GB, free: 14.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.7371, allocations: 0.9672 MB / 0.6484 GB, free: 13.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/0.7371, allocations: 16 kB / 0.6484 GB, free: 13.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00351/0.7406, allocations: 2.399 MB / 0.6508 GB, free: 10.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.7407, allocations: 32 kB / 0.6508 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/0.7407, allocations: 52.84 kB / 0.6508 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.014e-05/0.7408, allocations: 84 kB / 0.6509 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.7423, allocations: 0.5459 MB / 0.6515 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.902e-05/0.7424, allocations: 107.6 kB / 0.6516 GB, free: 9.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7439, allocations: 340.3 kB / 0.6519 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.7441, allocations: 152 kB / 0.652 GB, free: 9.512 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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],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 (295): * Single equations (assignments): 295 * 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.0003075/0.7444, allocations: 306.7 kB / 0.6523 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7446, allocations: 138.2 kB / 0.6524 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.7449, allocations: 153.7 kB / 0.6526 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.745, allocations: 8 kB / 0.6526 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.745, allocations: 96 / 0.6526 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.745, allocations: 3.984 kB / 0.6526 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.7495, allocations: 3.238 MB / 0.6558 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.7495, allocations: 12 kB / 0.6558 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.7498, allocations: 95.78 kB / 0.6559 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.7499, allocations: 16 kB / 0.6559 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.7499, allocations: 24 kB / 0.6559 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.56e-05/0.7499, allocations: 19.92 kB / 0.6559 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.7499, allocations: 19.94 kB / 0.6559 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.7513, allocations: 1.569 MB / 0.6575 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.7516, allocations: 223.2 kB / 0.6577 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7517, allocations: 31.92 kB / 0.6577 GB, free: 2.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.7521, allocations: 24 kB / 0.6577 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.7522, allocations: 71.62 kB / 0.6578 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.7522, allocations: 28 kB / 0.6578 GB, free: 2.777 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.7535, allocations: 0.966 MB / 0.6588 GB, free: 1.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7535, allocations: 0 / 0.6588 GB, free: 1.812 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001919/0.7555, allocations: 493.9 kB / 0.6593 GB, free: 1.328 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.002831/0.7583, allocations: 5.363 MB / 0.6645 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.7603, allocations: 1.233 MB / 0.6657 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.7604, allocations: 4 kB / 0.6657 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.7606, allocations: 222.5 kB / 0.6659 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.7614, allocations: 171.6 kB / 0.6661 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.7681, allocations: 3.351 MB / 0.6693 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.7697, allocations: 1.745 MB / 0.6711 GB, free: 4.656 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001631/0.7714, allocations: 0.6139 MB / 0.6717 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/0.7723, allocations: 0.7414 MB / 0.6724 GB, free: 3.293 MB / 490.7 MB Notification: Performance of SimCode: time 1.273e-06/0.7723, allocations: 0 / 0.6724 GB, free: 3.293 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3304/1.103, allocations: 25.89 MB / 0.6977 GB, free: 130 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.103, allocations: 146.9 kB / 0.6978 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.908, allocations: 0 / 0.6978 GB, free: 129.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat