Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 98.38 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 45.14 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.727e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.552, allocations: 101.1 MB / 0.6032 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5523, allocations: 74.47 kB / 0.6032 GB, free: 1.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07531/0.6276, allocations: 30.05 MB / 0.6326 GB, free: 7.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6277, allocations: 0 / 0.6326 GB, free: 7.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.029e-05/0.6277, allocations: 28 kB / 0.6326 GB, free: 7.488 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004064/0.6318, allocations: 2.011 MB / 0.6346 GB, free: 5.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6319, allocations: 11.97 kB / 0.6346 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.6332, allocations: 328 kB / 0.6349 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.6352, allocations: 1.042 MB / 0.6359 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.6352, allocations: 52 kB / 0.636 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.6354, allocations: 92 kB / 0.6361 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003016/0.6385, allocations: 2.395 MB / 0.6384 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.6425, allocations: 3.26 MB / 0.6416 GB, free: 0 / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.6425, allocations: 11.92 kB / 0.6416 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.6427, allocations: 12 kB / 0.6416 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005379/0.6432, allocations: 417.3 kB / 0.642 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.6591, allocations: 13.83 MB / 0.6555 GB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.6602, allocations: 0.7967 MB / 0.6563 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/0.661, allocations: 0.6464 MB / 0.6569 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004126/0.6651, allocations: 3.175 MB / 0.66 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6651, allocations: 38.5 kB / 0.6601 GB, free: 14.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/0.6651, allocations: 4 kB / 0.6601 GB, free: 14.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.003243/0.6684, allocations: 1.047 MB / 0.6611 GB, free: 13.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6684, allocations: 51.41 kB / 0.6611 GB, free: 13.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.6699, allocations: 1.192 MB / 0.6623 GB, free: 12.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.67, allocations: 25.7 kB / 0.6623 GB, free: 12.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.6707, allocations: 1.255 MB / 0.6635 GB, free: 11.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.6708, allocations: 130.6 kB / 0.6637 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.6708, allocations: 0 / 0.6637 GB, free: 11.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.6711, allocations: 443 kB / 0.6641 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.6716, allocations: 428.2 kB / 0.6645 GB, free: 10.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.6731, allocations: 1.852 MB / 0.6663 GB, free: 7.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6743, allocations: 0.852 MB / 0.6671 GB, free: 6.852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.6743, allocations: 12 kB / 0.6672 GB, free: 6.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00289/0.6772, allocations: 1.934 MB / 0.669 GB, free: 4.902 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.6773, allocations: 24 kB / 0.6691 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.005e-05/0.6773, allocations: 52 kB / 0.6691 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.701e-05/0.6774, allocations: 76.75 kB / 0.6692 GB, free: 4.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6787, allocations: 0.4991 MB / 0.6697 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-05/0.6788, allocations: 107.6 kB / 0.6698 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.68, allocations: 256.9 kB / 0.67 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.6801, allocations: 132 kB / 0.6701 GB, free: 3.766 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (275): * Single equations (assignments): 275 * 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.0002453/0.6804, allocations: 252.9 kB / 0.6704 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004401/0.6808, allocations: 361.8 kB / 0.6707 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.681, allocations: 114.5 kB / 0.6708 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.6812, allocations: 126.8 kB / 0.671 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6812, allocations: 0 / 0.671 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6812, allocations: 4 kB / 0.671 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6812, allocations: 3.984 kB / 0.671 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.684, allocations: 2.133 MB / 0.6731 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6841, allocations: 8 kB / 0.6731 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.6843, allocations: 68.72 kB / 0.6731 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.6844, allocations: 15.98 kB / 0.6731 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.6844, allocations: 12 kB / 0.6732 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.6844, allocations: 15.94 kB / 0.6732 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.6844, allocations: 8 kB / 0.6732 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.6854, allocations: 1.128 MB / 0.6743 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.6856, allocations: 195.5 kB / 0.6745 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6857, allocations: 12 kB / 0.6745 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.6861, allocations: 15.98 kB / 0.6745 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.6862, allocations: 55.8 kB / 0.6745 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.6862, allocations: 19.94 kB / 0.6746 GB, free: 14.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009313/0.6871, allocations: 0.7785 MB / 0.6753 GB, free: 14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6871, allocations: 8 kB / 0.6753 GB, free: 14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001537/0.6887, allocations: 370.3 kB / 0.6757 GB, free: 13.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.002085/0.6908, allocations: 3.95 MB / 0.6795 GB, free: 9.422 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.6925, allocations: 1.027 MB / 0.6805 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6925, allocations: 4 kB / 0.6806 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.6927, allocations: 168.2 kB / 0.6807 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.6933, allocations: 155 kB / 0.6809 GB, free: 8.086 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.6981, allocations: 2.693 MB / 0.6835 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.6994, allocations: 1.562 MB / 0.685 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.7008, allocations: 0.5729 MB / 0.6856 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.7015, allocations: 0.6243 MB / 0.6862 GB, free: 2.445 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7015, allocations: 0 / 0.6862 GB, free: 2.445 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.7437, allocations: 21.02 MB / 0.7067 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.744, allocations: 135.8 kB / 0.7068 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.287, allocations: 3.938 kB / 0.7068 GB, free: 13.27 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat