Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001545/0.001545, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001088, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.2738/0.2738, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.28e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6166, allocations: 99.32 MB / 0.5699 GB, free: 4.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.617, allocations: 76.69 kB / 0.57 GB, free: 4.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1509/0.7679, allocations: 35.23 MB / 0.6044 GB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.768, allocations: 3.938 kB / 0.6044 GB, free: 5.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001074/0.7681, allocations: 36 kB / 0.6044 GB, free: 5.59 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.008758/0.7769, allocations: 2.205 MB / 0.6066 GB, free: 3.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.777, allocations: 12.03 kB / 0.6066 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.7783, allocations: 376.8 kB / 0.6069 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.7816, allocations: 376.7 kB / 0.6073 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.7862, allocations: 1.152 MB / 0.6084 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.7864, allocations: 148.6 kB / 0.6085 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009332/0.7874, allocations: 198.7 kB / 0.6087 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.8037, allocations: 4.787 MB / 0.6134 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-05/0.8038, allocations: 11.94 kB / 0.6134 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.8042, allocations: 94.62 kB / 0.6135 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001773/0.806, allocations: 0.5191 MB / 0.614 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.8205, allocations: 3.795 MB / 0.6177 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.8585, allocations: 16.72 MB / 0.6341 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007828/0.8664, allocations: 1.268 MB / 0.6353 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.8681, allocations: 0.6989 MB / 0.636 GB, free: 8.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009467/0.8776, allocations: 4.066 MB / 0.6399 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.8777, allocations: 42.5 kB / 0.64 GB, free: 3.754 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.216e-06/0.8777, allocations: 0 / 0.64 GB, free: 3.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.01063/0.8884, allocations: 1.47 MB / 0.6414 GB, free: 2.273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.8885, allocations: 118.8 kB / 0.6415 GB, free: 2.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.8921, allocations: 1.407 MB / 0.6429 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.8923, allocations: 33.7 kB / 0.6429 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.8938, allocations: 1.42 MB / 0.6443 GB, free: 15.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.8942, allocations: 186 kB / 0.6445 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.8944, allocations: 44 kB / 0.6445 GB, free: 15.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.8947, allocations: 407.4 kB / 0.6449 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.8961, allocations: 0.4888 MB / 0.6454 GB, free: 14.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.8991, allocations: 2.027 MB / 0.6474 GB, free: 11.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.9017, allocations: 0.9672 MB / 0.6483 GB, free: 10.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.764e-05/0.9018, allocations: 16 kB / 0.6484 GB, free: 10.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00687/0.9087, allocations: 2.364 MB / 0.6507 GB, free: 7.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.9088, allocations: 28 kB / 0.6507 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-05/0.9089, allocations: 56 kB / 0.6507 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.9091, allocations: 80.75 kB / 0.6508 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.9124, allocations: 0.5459 MB / 0.6514 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001373/0.9126, allocations: 107.6 kB / 0.6515 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.9152, allocations: 336.4 kB / 0.6518 GB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.9157, allocations: 140 kB / 0.6519 GB, free: 6.664 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 () * 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.00049/0.9162, allocations: 310.6 kB / 0.6522 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.9166, allocations: 142.3 kB / 0.6523 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.917, allocations: 157.7 kB / 0.6525 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.9171, allocations: 4 kB / 0.6525 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.9171, allocations: 4 kB / 0.6525 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.9171, allocations: 0 / 0.6525 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007958/0.9251, allocations: 3.242 MB / 0.6557 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.9251, allocations: 12 kB / 0.6557 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.9258, allocations: 95.83 kB / 0.6558 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.639e-05/0.9258, allocations: 16 kB / 0.6558 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.9259, allocations: 20.09 kB / 0.6558 GB, free: 2.445 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.951e-05/0.9259, allocations: 23.92 kB / 0.6558 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-05/0.9259, allocations: 23.86 kB / 0.6558 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.928, allocations: 1.564 MB / 0.6574 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/0.9286, allocations: 227.2 kB / 0.6576 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.9289, allocations: 24 kB / 0.6576 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.9297, allocations: 23.98 kB / 0.6576 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9299, allocations: 75.62 kB / 0.6577 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.9299, allocations: 31.94 kB / 0.6577 GB, free: 15.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002406/0.9324, allocations: 0.966 MB / 0.6587 GB, free: 14.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.9324, allocations: 0 / 0.6587 GB, free: 14.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002865/0.9353, allocations: 489.9 kB / 0.6591 GB, free: 14.46 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.003731/0.9391, allocations: 5.367 MB / 0.6644 GB, free: 8.734 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.9424, allocations: 1.234 MB / 0.6656 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.9424, allocations: 0 / 0.6656 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.943, allocations: 226.6 kB / 0.6658 GB, free: 7.297 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.9443, allocations: 180.7 kB / 0.666 GB, free: 7.121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.9555, allocations: 3.545 MB / 0.6694 GB, free: 3.367 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/0.9586, allocations: 1.741 MB / 0.6711 GB, free: 1.594 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/0.9604, allocations: 0.7648 MB / 0.6719 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9605, allocations: 0 / 0.6719 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.184/4.144, allocations: 29.95 MB / 0.7011 GB, free: 2.844 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat