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.002392/0.002392, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.047/2.047, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001089, allocations: 94.14 kB / 270.9 MB, free: 8.375 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.5196/0.5196, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007558/0.000756, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.134, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5639/0.6979, allocations: 99.4 MB / 0.5759 GB, free: 3.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6983, allocations: 75.97 kB / 0.576 GB, free: 3.074 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1489/0.8472, allocations: 35.22 MB / 0.6104 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8472, allocations: 3.938 kB / 0.6104 GB, free: 15.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.527e-05/0.8473, allocations: 40 kB / 0.6104 GB, free: 15.57 MB / 442.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.00884/0.8562, allocations: 2.318 MB / 0.6127 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.8563, allocations: 8.031 kB / 0.6127 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/0.8576, allocations: 379.7 kB / 0.613 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.8607, allocations: 384.2 kB / 0.6134 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004393/0.8652, allocations: 1.154 MB / 0.6145 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.8654, allocations: 143.9 kB / 0.6147 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.8662, allocations: 195.9 kB / 0.6149 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.8829, allocations: 4.836 MB / 0.6196 GB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.013e-05/0.883, allocations: 11.88 kB / 0.6196 GB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.8834, allocations: 95.94 kB / 0.6197 GB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.8852, allocations: 0.516 MB / 0.6202 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.9007, allocations: 3.869 MB / 0.624 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03753/0.9383, allocations: 16.72 MB / 0.6403 GB, free: 156 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007706/0.946, allocations: 1.278 MB / 0.6415 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009376/0.9555, allocations: 4.073 MB / 0.6455 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.9556, allocations: 42.56 kB / 0.6456 GB, free: 10.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 3.527e-06/0.9556, allocations: 0 / 0.6456 GB, free: 10.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.01138/0.967, allocations: 1.798 MB / 0.6473 GB, free: 8.656 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.9671, allocations: 106.8 kB / 0.6474 GB, free: 8.527 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.9706, allocations: 1.42 MB / 0.6488 GB, free: 7.102 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9707, allocations: 37.7 kB / 0.6488 GB, free: 7.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.9722, allocations: 1.424 MB / 0.6502 GB, free: 5.613 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.9725, allocations: 178 kB / 0.6504 GB, free: 5.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.9727, allocations: 48 kB / 0.6504 GB, free: 5.391 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.973, allocations: 411.4 kB / 0.6508 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9744, allocations: 0.5042 MB / 0.6513 GB, free: 4.473 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.9772, allocations: 2.039 MB / 0.6533 GB, free: 1.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.9797, allocations: 0.9675 MB / 0.6543 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.271e-05/0.9798, allocations: 16 kB / 0.6543 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006827/0.9866, allocations: 2.388 MB / 0.6566 GB, free: 14.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.9868, allocations: 28 kB / 0.6566 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-05/0.9868, allocations: 56 kB / 0.6567 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.987, allocations: 83.94 kB / 0.6568 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.9902, allocations: 0.5497 MB / 0.6573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/0.9904, allocations: 112 kB / 0.6574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.993, allocations: 332.5 kB / 0.6577 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/0.9934, allocations: 148 kB / 0.6579 GB, free: 12.96 MB / 490.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.002117/0.9956, allocations: 0.8634 MB / 0.6587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.9959, allocations: 138.2 kB / 0.6589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.9964, allocations: 153.6 kB / 0.659 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9964, allocations: 8 kB / 0.659 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.9964, allocations: 7.984 kB / 0.659 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.9964, allocations: 4 kB / 0.659 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007952/1.004, allocations: 3.23 MB / 0.6622 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.004, allocations: 16.25 kB / 0.6622 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/1.005, allocations: 99.77 kB / 0.6623 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/1.005, allocations: 16 kB / 0.6623 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.005, allocations: 24 kB / 0.6623 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-05/1.005, allocations: 23.92 kB / 0.6623 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/1.005, allocations: 19.92 kB / 0.6624 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/1.007, allocations: 1.568 MB / 0.6639 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/1.008, allocations: 227.2 kB / 0.6641 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.008, allocations: 24 kB / 0.6641 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/1.009, allocations: 31.98 kB / 0.6642 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.009, allocations: 71.62 kB / 0.6642 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/1.009, allocations: 28 kB / 0.6643 GB, free: 5.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002489/1.012, allocations: 0.9789 MB / 0.6652 GB, free: 4.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.012, allocations: 0 / 0.6652 GB, free: 4.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002913/1.015, allocations: 486 kB / 0.6657 GB, free: 4.203 MB / 490.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.003673/1.018, allocations: 5.386 MB / 0.6709 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003412/1.022, allocations: 1.245 MB / 0.6722 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/1.022, allocations: 8.25 kB / 0.6722 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006049/1.023, allocations: 222.3 kB / 0.6724 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.024, allocations: 176.6 kB / 0.6725 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3615/1.385, allocations: 49.13 MB / 0.7205 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/1.388, allocations: 1.747 MB / 0.7222 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.389, allocations: 0.7624 MB / 0.723 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/1.389, allocations: 0 / 0.723 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.045/4.434, allocations: 30 MB / 0.7523 GB, free: 98.88 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