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.001164/0.001164, allocations: 184.5 kB / 15.76 MB, free: 6.367 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.722/1.722, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009378/0.0009378, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.4906, allocations: 99.42 MB / 0.5759 GB, free: 464 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4909, allocations: 73.91 kB / 0.576 GB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08691/0.5778, allocations: 35.23 MB / 0.6104 GB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5778, allocations: 0 / 0.6104 GB, free: 1.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.072e-05/0.5779, allocations: 36 kB / 0.6104 GB, free: 1.66 MB / 410.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.005125/0.583, allocations: 2.319 MB / 0.6127 GB, free: 15.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.5831, allocations: 16.02 kB / 0.6127 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007235/0.5838, allocations: 362.5 kB / 0.6131 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.5855, allocations: 380.7 kB / 0.6134 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.5882, allocations: 1.155 MB / 0.6146 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.5883, allocations: 147.9 kB / 0.6147 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.5886, allocations: 197.8 kB / 0.6149 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.5993, allocations: 4.836 MB / 0.6196 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.5994, allocations: 19.86 kB / 0.6196 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.5997, allocations: 83.27 kB / 0.6197 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009986/0.6007, allocations: 0.5226 MB / 0.6202 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/0.6088, allocations: 3.857 MB / 0.624 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.6311, allocations: 16.73 MB / 0.6403 GB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00414/0.6353, allocations: 1.286 MB / 0.6416 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005795/0.6411, allocations: 4.074 MB / 0.6456 GB, free: 368 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6412, allocations: 34.56 kB / 0.6456 GB, free: 324 kB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.536e-06/0.6412, allocations: 0 / 0.6456 GB, free: 324 kB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.00623/0.6475, allocations: 1.795 MB / 0.6473 GB, free: 14.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.6476, allocations: 114.8 kB / 0.6475 GB, free: 14.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.6498, allocations: 1.428 MB / 0.6488 GB, free: 12.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.6499, allocations: 29.7 kB / 0.6489 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.651, allocations: 1.41 MB / 0.6503 GB, free: 11.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6511, allocations: 178 kB / 0.6504 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.6512, allocations: 48 kB / 0.6505 GB, free: 11.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6515, allocations: 463.4 kB / 0.6509 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.6522, allocations: 0.5003 MB / 0.6514 GB, free: 10.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.654, allocations: 2.039 MB / 0.6534 GB, free: 7.461 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.6554, allocations: 0.9636 MB / 0.6543 GB, free: 6.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.6554, allocations: 19.98 kB / 0.6544 GB, free: 6.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003655/0.6591, allocations: 2.427 MB / 0.6567 GB, free: 4.043 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.6591, allocations: 34.66 kB / 0.6568 GB, free: 4.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/0.6592, allocations: 55.98 kB / 0.6568 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.977e-05/0.6593, allocations: 92 kB / 0.6569 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6607, allocations: 0.5419 MB / 0.6574 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.933e-05/0.6608, allocations: 107.6 kB / 0.6575 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.6623, allocations: 336.3 kB / 0.6578 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.6625, allocations: 148 kB / 0.658 GB, free: 2.742 MB / 458.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 () * Number of clocked 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.001339/0.6638, allocations: 0.8672 MB / 0.6588 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.6641, allocations: 134.3 kB / 0.659 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.6643, allocations: 153.6 kB / 0.6591 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6643, allocations: 4 kB / 0.6591 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6643, allocations: 4 kB / 0.6591 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6644, allocations: 3.938 kB / 0.6591 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.6688, allocations: 3.234 MB / 0.6623 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6689, allocations: 12 kB / 0.6623 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.6692, allocations: 99.78 kB / 0.6624 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.6692, allocations: 16 kB / 0.6624 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.6693, allocations: 20 kB / 0.6624 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.6693, allocations: 23.92 kB / 0.6624 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.6693, allocations: 16.47 kB / 0.6625 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.6707, allocations: 1.572 MB / 0.664 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.6711, allocations: 231.2 kB / 0.6642 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6712, allocations: 23.98 kB / 0.6642 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.6716, allocations: 24 kB / 0.6643 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.6717, allocations: 67.69 kB / 0.6643 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.6718, allocations: 28 kB / 0.6644 GB, free: 11.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.6731, allocations: 0.9828 MB / 0.6653 GB, free: 10.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6731, allocations: 3.938 kB / 0.6653 GB, free: 10.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00194/0.675, allocations: 489.9 kB / 0.6658 GB, free: 9.984 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 () * Number of clocked 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.002527/0.6775, allocations: 5.379 MB / 0.671 GB, free: 4.234 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.6797, allocations: 1.248 MB / 0.6723 GB, free: 3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6797, allocations: 4 kB / 0.6723 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.68, allocations: 226.5 kB / 0.6725 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.6808, allocations: 175.2 kB / 0.6726 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2504/0.9312, allocations: 48.93 MB / 0.7204 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.9331, allocations: 1.738 MB / 0.7221 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001978/0.9351, allocations: 0.6128 MB / 0.7227 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008432/0.936, allocations: 0.7482 MB / 0.7235 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.936, allocations: 0 / 0.7235 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/0.9847, allocations: 25.77 MB / 0.7486 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.9849, allocations: 173.6 kB / 0.7488 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.642, allocations: 0 / 0.7488 GB, free: 139.5 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