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.001642/0.001642, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.2 MB / 245 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 98.19 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4002/0.4002, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 12.2 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4421, allocations: 63.23 MB / 0.5193 GB, free: 43.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5949, allocations: 101.8 MB / 0.6187 GB, free: 3.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5952, allocations: 81.75 kB / 0.6188 GB, free: 3.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08466/0.6799, allocations: 30.65 MB / 0.6487 GB, free: 4.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.618e-06/0.68, allocations: 0 / 0.6487 GB, free: 4.938 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.6801, allocations: 32 kB / 0.6487 GB, free: 4.906 MB / 458.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.008114/0.6882, allocations: 2.114 MB / 0.6508 GB, free: 2.734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.6883, allocations: 12.03 kB / 0.6508 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.6896, allocations: 308.4 kB / 0.6511 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.6917, allocations: 329.2 kB / 0.6514 GB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.6949, allocations: 1.041 MB / 0.6524 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.6951, allocations: 127.2 kB / 0.6526 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006816/0.6958, allocations: 156 kB / 0.6527 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.7065, allocations: 4.264 MB / 0.6569 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.7067, allocations: 11.88 kB / 0.6569 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/0.7073, allocations: 75.95 kB / 0.657 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007092/0.708, allocations: 414.5 kB / 0.6574 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008448/0.7164, allocations: 3.59 MB / 0.6609 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.7394, allocations: 14.54 MB / 0.6751 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/0.7438, allocations: 1.215 MB / 0.6763 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006443/0.7503, allocations: 3.745 MB / 0.6799 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.7504, allocations: 34.89 kB / 0.6799 GB, free: 3.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.308e-06/0.7504, allocations: 0 / 0.6799 GB, free: 3.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.006383/0.7568, allocations: 1.776 MB / 0.6817 GB, free: 2.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.7569, allocations: 59.34 kB / 0.6817 GB, free: 2.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.7596, allocations: 1.313 MB / 0.683 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.7597, allocations: 37.7 kB / 0.6831 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009722/0.7607, allocations: 1.197 MB / 0.6842 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.7609, allocations: 174 kB / 0.6844 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.761, allocations: 40 kB / 0.6844 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002691/0.7613, allocations: 442.9 kB / 0.6848 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007992/0.7621, allocations: 483.9 kB / 0.6853 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.7638, allocations: 1.878 MB / 0.6871 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7652, allocations: 0.886 MB / 0.688 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-05/0.7652, allocations: 12 kB / 0.688 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004041/0.7693, allocations: 2.251 MB / 0.6902 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.7694, allocations: 28.25 kB / 0.6902 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.458e-05/0.7695, allocations: 52 kB / 0.6903 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.812e-05/0.7696, allocations: 72 kB / 0.6904 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.7711, allocations: 495 kB / 0.6908 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.7713, allocations: 103.6 kB / 0.6909 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.773, allocations: 296.8 kB / 0.6912 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.7733, allocations: 132 kB / 0.6913 GB, free: 7.461 MB / 0.4948 GB 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 () * Number of clocked 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.001432/0.7747, allocations: 0.772 MB / 0.6921 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.775, allocations: 126.4 kB / 0.6922 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.7754, allocations: 140.5 kB / 0.6924 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.7754, allocations: 4 kB / 0.6924 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.7754, allocations: 4 kB / 0.6924 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7754, allocations: 0 / 0.6924 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.7808, allocations: 2.84 MB / 0.6951 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.7808, allocations: 8 kB / 0.6951 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7812, allocations: 95.83 kB / 0.6952 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.7812, allocations: 19.95 kB / 0.6952 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.7813, allocations: 24 kB / 0.6953 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/0.7813, allocations: 19.92 kB / 0.6953 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.7813, allocations: 19.94 kB / 0.6953 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.783, allocations: 1.504 MB / 0.6968 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.7835, allocations: 219.4 kB / 0.697 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.7838, allocations: 27.98 kB / 0.697 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.7843, allocations: 20 kB / 0.697 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.7844, allocations: 67.67 kB / 0.6971 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.7845, allocations: 28 kB / 0.6971 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.3093/1.094, allocations: 0.9 MB / 0.698 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.72e-07/1.094, allocations: 0 / 0.698 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002743/1.097, allocations: 408.1 kB / 0.6984 GB, free: 120.6 MB / 0.4948 GB 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 () * Number of clocked 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.002593/1.099, allocations: 5.278 MB / 0.7035 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002328/1.102, allocations: 1.165 MB / 0.7047 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.102, allocations: 2.312 kB / 0.7047 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/1.102, allocations: 227.2 kB / 0.7049 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/1.103, allocations: 192.2 kB / 0.7051 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.129, allocations: 44.39 MB / 0.7484 GB, free: 76.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.13, allocations: 1.561 MB / 0.75 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001709/1.132, allocations: 0.5666 MB / 0.7505 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/1.133, allocations: 0.6188 MB / 0.7511 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/1.133, allocations: 4 kB / 0.7511 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/1.179, allocations: 23.44 MB / 0.774 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.179, allocations: 164.1 kB / 0.7742 GB, free: 73.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.852, allocations: 0 / 0.7742 GB, free: 73.63 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