Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",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.001677/0.001676, allocations: 176.5 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 97.97 kB / 281.6 MB, free: 5.32 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.214/0.214, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.332e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5737, allocations: 108.1 MB / 0.6004 GB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.574, allocations: 75.95 kB / 0.6004 GB, free: 4.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1356/0.7096, allocations: 53.13 MB / 0.6523 GB, free: 14.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7096, allocations: 0 / 0.6523 GB, free: 14.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.7097, allocations: 48 kB / 0.6524 GB, free: 14.56 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007389/0.7171, allocations: 2.442 MB / 0.6547 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.7172, allocations: 11.98 kB / 0.6548 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.7198, allocations: 444.1 kB / 0.6552 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.7232, allocations: 1.489 MB / 0.6566 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/0.7233, allocations: 84 kB / 0.6567 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.7238, allocations: 156 kB / 0.6569 GB, free: 9.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005484/0.7293, allocations: 3.569 MB / 0.6603 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.7362, allocations: 4.626 MB / 0.6649 GB, free: 1.336 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/0.7363, allocations: 15.86 kB / 0.6649 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.7366, allocations: 8 kB / 0.6649 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006229/0.7372, allocations: 464.1 kB / 0.6653 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02429/0.7615, allocations: 18.96 MB / 0.6838 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.7629, allocations: 0.8398 MB / 0.6847 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.7637, allocations: 0.6156 MB / 0.6853 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005897/0.7696, allocations: 4.428 MB / 0.6896 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.7697, allocations: 39.11 kB / 0.6896 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 3.577e-06/0.7697, allocations: 4 kB / 0.6896 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01445/0.7841, allocations: 4.817 MB / 0.6943 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7842, allocations: 60.19 kB / 0.6944 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.7861, allocations: 1.356 MB / 0.6957 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.7862, allocations: 29.7 kB / 0.6957 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.7871, allocations: 1.57 MB / 0.6973 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.7873, allocations: 327.6 kB / 0.6976 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.7874, allocations: 0 / 0.6976 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.7877, allocations: 468.2 kB / 0.698 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.7888, allocations: 0.8057 MB / 0.6988 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.7907, allocations: 2.308 MB / 0.7011 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.7938, allocations: 1.475 MB / 0.7025 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/0.7938, allocations: 16 kB / 0.7025 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005927/0.7998, allocations: 2.985 MB / 0.7055 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.7998, allocations: 32.03 kB / 0.7055 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/0.7999, allocations: 52 kB / 0.7055 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-05/0.8, allocations: 80 kB / 0.7056 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.8021, allocations: 0.6511 MB / 0.7062 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-05/0.8022, allocations: 107.6 kB / 0.7063 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.8039, allocations: 91.84 kB / 0.7064 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.8041, allocations: 156 kB / 0.7066 GB, free: 4.883 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (342): * Single equations (assignments): 342 * 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.0003619/0.8045, allocations: 260.8 kB / 0.7068 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001698/0.8062, allocations: 1.108 MB / 0.7079 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.8064, allocations: 142.1 kB / 0.708 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.8084, allocations: 1.279 MB / 0.7093 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.8085, allocations: 8 kB / 0.7093 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8085, allocations: 3.938 kB / 0.7093 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8085, allocations: 3.984 kB / 0.7093 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2717/1.08, allocations: 3.608 MB / 0.7128 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.08, allocations: 4.062 kB / 0.7128 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.081, allocations: 205.8 kB / 0.713 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/1.082, allocations: 8.266 kB / 0.713 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/1.082, allocations: 9.016 kB / 0.7131 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/1.082, allocations: 13.38 kB / 0.7131 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.082, allocations: 5.188 kB / 0.7131 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/1.084, allocations: 1.553 MB / 0.7146 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/1.084, allocations: 215.9 kB / 0.7148 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.085, allocations: 9.5 kB / 0.7148 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/1.085, allocations: 41.55 kB / 0.7148 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.085, allocations: 58.59 kB / 0.7149 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/1.086, allocations: 25.8 kB / 0.7149 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001551/1.087, allocations: 0.9141 MB / 0.7158 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/1.087, allocations: 0 / 0.7158 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002922/1.09, allocations: 433.8 kB / 0.7162 GB, free: 147.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.002992/1.093, allocations: 3.274 MB / 0.7194 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003516/1.097, allocations: 1.839 MB / 0.7212 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.097, allocations: 3.531 kB / 0.7212 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/1.098, allocations: 0.529 MB / 0.7217 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.099, allocations: 157.3 kB / 0.7219 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.11, allocations: 4.26 MB / 0.7261 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/1.112, allocations: 2.094 MB / 0.7281 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002387/1.115, allocations: 0.6815 MB / 0.7288 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.116, allocations: 0.9441 MB / 0.7297 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.116, allocations: 1.156 kB / 0.7297 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06453/1.181, allocations: 33.67 MB / 0.7626 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.181, allocations: 127.8 kB / 0.7627 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/4.215, allocations: 0 / 0.7627 GB, free: 141.2 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat