Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009033, allocations: 94.72 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3342/0.3342, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3659, allocations: 61.91 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5021, allocations: 100.8 MB / 0.608 GB, free: 10.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5024, allocations: 83.92 kB / 0.6081 GB, free: 10.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07726/0.5797, allocations: 30.59 MB / 0.638 GB, free: 11.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5797, allocations: 0 / 0.638 GB, free: 11.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.424e-05/0.5798, allocations: 32 kB / 0.638 GB, free: 11.43 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.005048/0.5848, allocations: 2.114 MB / 0.6401 GB, free: 9.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5849, allocations: 8.031 kB / 0.6401 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007389/0.5856, allocations: 308.4 kB / 0.6404 GB, free: 8.938 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.5871, allocations: 317.3 kB / 0.6407 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.5896, allocations: 1.053 MB / 0.6417 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.5897, allocations: 127.1 kB / 0.6418 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.5902, allocations: 152 kB / 0.642 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/0.5986, allocations: 4.276 MB / 0.6462 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.5987, allocations: 7.938 kB / 0.6462 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.5989, allocations: 75.95 kB / 0.6462 GB, free: 2.637 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005366/0.5995, allocations: 418.5 kB / 0.6466 GB, free: 2.227 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006966/0.6064, allocations: 3.582 MB / 0.6501 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.6241, allocations: 14.53 MB / 0.6643 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.6283, allocations: 1.223 MB / 0.6655 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005451/0.6338, allocations: 3.726 MB / 0.6692 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6339, allocations: 38.89 kB / 0.6692 GB, free: 10.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.6339, allocations: 7.938 kB / 0.6692 GB, free: 10.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.005987/0.6399, allocations: 1.78 MB / 0.671 GB, free: 8.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6399, allocations: 59.34 kB / 0.671 GB, free: 8.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.642, allocations: 1.321 MB / 0.6723 GB, free: 7.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.642, allocations: 29.7 kB / 0.6723 GB, free: 7.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007593/0.6428, allocations: 1.197 MB / 0.6735 GB, free: 6.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.6429, allocations: 178 kB / 0.6737 GB, free: 5.855 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.643, allocations: 40 kB / 0.6737 GB, free: 5.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.6432, allocations: 442.9 kB / 0.6741 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.6439, allocations: 479.9 kB / 0.6746 GB, free: 4.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.6453, allocations: 1.874 MB / 0.6764 GB, free: 2.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.6464, allocations: 0.8899 MB / 0.6773 GB, free: 1.414 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.6464, allocations: 16 kB / 0.6773 GB, free: 1.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.256/0.9025, allocations: 2.236 MB / 0.6795 GB, free: 115.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.9026, allocations: 26.38 kB / 0.6795 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.9027, allocations: 54.47 kB / 0.6796 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.9028, allocations: 75.19 kB / 0.6796 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.9043, allocations: 496 kB / 0.6801 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-05/0.9044, allocations: 97.41 kB / 0.6802 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.9058, allocations: 300.6 kB / 0.6805 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.906, allocations: 134.9 kB / 0.6806 GB, free: 115.8 MB / 490.7 MB 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.001083/0.9071, allocations: 0.762 MB / 0.6814 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.9072, allocations: 129.6 kB / 0.6815 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.9075, allocations: 143.6 kB / 0.6816 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9075, allocations: 2.844 kB / 0.6816 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.9075, allocations: 2.938 kB / 0.6816 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.9075, allocations: 7.328 kB / 0.6816 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.9111, allocations: 2.833 MB / 0.6844 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.9111, allocations: 14.25 kB / 0.6844 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.9114, allocations: 95.25 kB / 0.6845 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.9114, allocations: 16.84 kB / 0.6845 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.9114, allocations: 18.5 kB / 0.6845 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.9115, allocations: 26.53 kB / 0.6846 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/0.9115, allocations: 15.86 kB / 0.6846 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.9125, allocations: 1.512 MB / 0.6861 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.9128, allocations: 215.3 kB / 0.6863 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9129, allocations: 32.39 kB / 0.6863 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.9133, allocations: 25.11 kB / 0.6863 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.9134, allocations: 72.91 kB / 0.6864 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.9134, allocations: 29.38 kB / 0.6864 GB, free: 113.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.9145, allocations: 0.8986 MB / 0.6873 GB, free: 113.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9145, allocations: 0 / 0.6873 GB, free: 113.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001916/0.9164, allocations: 405 kB / 0.6877 GB, free: 113 MB / 490.7 MB 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.00233/0.9188, allocations: 5.273 MB / 0.6928 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.9207, allocations: 1.17 MB / 0.694 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.9207, allocations: 6.906 kB / 0.694 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.9209, allocations: 223.2 kB / 0.6942 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.9218, allocations: 177.7 kB / 0.6944 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.9422, allocations: 44.4 MB / 0.7377 GB, free: 67.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.9435, allocations: 1.569 MB / 0.7392 GB, free: 66.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001556/0.945, allocations: 0.5692 MB / 0.7398 GB, free: 66.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/0.9456, allocations: 0.6142 MB / 0.7404 GB, free: 66.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9457, allocations: 0 / 0.7404 GB, free: 66.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.9933, allocations: 23.44 MB / 0.7633 GB, free: 64.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.9935, allocations: 169.7 kB / 0.7635 GB, free: 64.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.634, allocations: 7.875 kB / 0.7635 GB, free: 64.68 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat