Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",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.001303/0.001302, allocations: 170.4 kB / 8.74 MB, free: 348 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.404/1.404, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0009929/0.000993, allocations: 81.86 kB / 281.6 MB, free: 5.273 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.2013/0.2013, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.771e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5471, allocations: 111.1 MB / 0.6032 GB, free: 1.336 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5474, allocations: 75.97 kB / 0.6033 GB, free: 1.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1594/0.7068, allocations: 65.15 MB / 0.6669 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.7069, allocations: 0 / 0.6669 GB, free: 15.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.707, allocations: 72 kB / 0.667 GB, free: 15.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.009846/0.7169, allocations: 3.756 MB / 0.6707 GB, free: 11.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.7169, allocations: 15.98 kB / 0.6707 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.7208, allocations: 0.6507 MB / 0.6713 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/0.7271, allocations: 2.411 MB / 0.6737 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.7273, allocations: 120 kB / 0.6738 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.7283, allocations: 211.9 kB / 0.674 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0104/0.7388, allocations: 5.542 MB / 0.6794 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.7545, allocations: 6.981 MB / 0.6862 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.27e-05/0.7546, allocations: 15.81 kB / 0.6862 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.755, allocations: 15.95 kB / 0.6863 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.7561, allocations: 0.6741 MB / 0.6869 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3176/1.074, allocations: 27.28 MB / 0.7136 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/1.078, allocations: 1.943 MB / 0.7155 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002848/1.081, allocations: 1.454 MB / 0.7169 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/1.099, allocations: 8.28 MB / 0.725 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.1, allocations: 42.45 kB / 0.725 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=84): time 5.791e-06/1.1, allocations: 0 / 0.725 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.02622/1.126, allocations: 6.797 MB / 0.7316 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.126, allocations: 60.28 kB / 0.7317 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.13, allocations: 1.988 MB / 0.7336 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.13, allocations: 25.7 kB / 0.7337 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.131, allocations: 2.21 MB / 0.7358 GB, free: 107 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/1.132, allocations: 376.9 kB / 0.7362 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.132, allocations: 0 / 0.7362 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.132, allocations: 464.2 kB / 0.7366 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/1.135, allocations: 1.227 MB / 0.7378 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.138, allocations: 3.309 MB / 0.7411 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005718/1.144, allocations: 2.097 MB / 0.7431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.087e-05/1.144, allocations: 24.44 kB / 0.7431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01261/1.156, allocations: 4.296 MB / 0.7473 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/1.156, allocations: 39.03 kB / 0.7474 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-05/1.157, allocations: 75.56 kB / 0.7474 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/1.157, allocations: 111.2 kB / 0.7475 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004801/1.162, allocations: 0.9045 MB / 0.7484 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/1.162, allocations: 146 kB / 0.7486 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.166, allocations: 166.8 kB / 0.7487 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/1.166, allocations: 211.5 kB / 0.7489 GB, free: 100.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (474): * Single equations (assignments): 473 * Array equations: 1 * 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.0006327/1.167, allocations: 330.4 kB / 0.7492 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003071/1.17, allocations: 1.554 MB / 0.7507 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/1.17, allocations: 206.7 kB / 0.7509 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/1.174, allocations: 1.756 MB / 0.7527 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.174, allocations: 15.38 kB / 0.7527 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.174, allocations: 0 / 0.7527 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.174, allocations: 3.75 kB / 0.7527 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/1.184, allocations: 5.188 MB / 0.7577 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.184, allocations: 14.44 kB / 0.7578 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.185, allocations: 269.9 kB / 0.758 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/1.185, allocations: 23.41 kB / 0.758 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/1.185, allocations: 24.81 kB / 0.7581 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-05/1.185, allocations: 32.72 kB / 0.7581 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/1.185, allocations: 28.44 kB / 0.7581 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.187, allocations: 3.351 MB / 0.7614 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/1.188, allocations: 302.5 kB / 0.7617 GB, free: 92.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.188, allocations: 24.05 kB / 0.7617 GB, free: 92.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/1.189, allocations: 49.7 kB / 0.7618 GB, free: 92.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.189, allocations: 144.2 kB / 0.7619 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/1.189, allocations: 54.72 kB / 0.7619 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001684/1.191, allocations: 1.32 MB / 0.7632 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/1.191, allocations: 0 / 0.7632 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003221/1.194, allocations: 0.5901 MB / 0.7638 GB, free: 91.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.003772/1.198, allocations: 8.243 MB / 0.7719 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003672/1.202, allocations: 2.699 MB / 0.7745 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.202, allocations: 9.875 kB / 0.7745 GB, free: 83.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/1.203, allocations: 0.7678 MB / 0.7752 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.204, allocations: 265 kB / 0.7755 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.215, allocations: 6.48 MB / 0.7818 GB, free: 79.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/1.218, allocations: 2.739 MB / 0.7845 GB, free: 78.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002514/1.22, allocations: 0.9329 MB / 0.7854 GB, free: 78.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.222, allocations: 1.36 MB / 0.7867 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/1.222, allocations: 0 / 0.7867 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07293/1.295, allocations: 46.92 MB / 0.8326 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.295, allocations: 127.9 kB / 0.8327 GB, free: 39.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.629, allocations: 0 / 0.8327 GB, free: 39.99 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat