Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001051/0.001051, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.2234/0.2234, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.048e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5997, allocations: 109.4 MB / 0.5729 GB, free: 1.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.6002, allocations: 80.31 kB / 0.5729 GB, free: 1.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1756/0.7759, allocations: 72.57 MB / 0.6438 GB, free: 1.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.7759, allocations: 4 kB / 0.6438 GB, free: 1.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.7761, allocations: 76 kB / 0.6439 GB, free: 1.621 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01256/0.7887, allocations: 4.102 MB / 0.6479 GB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7887, allocations: 8.031 kB / 0.6479 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.793, allocations: 0.7475 MB / 0.6486 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.7986, allocations: 2.583 MB / 0.6512 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.7988, allocations: 136 kB / 0.6513 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008118/0.7996, allocations: 248 kB / 0.6515 GB, free: 9.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01133/0.8109, allocations: 6.146 MB / 0.6575 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.8251, allocations: 7.812 MB / 0.6652 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.8253, allocations: 27.77 kB / 0.6652 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006326/0.8259, allocations: 12 kB / 0.6652 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/0.8276, allocations: 0.8551 MB / 0.666 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.8679, allocations: 30.32 MB / 0.6956 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.8706, allocations: 1.951 MB / 0.6976 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.8724, allocations: 1.454 MB / 0.699 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2986/1.171, allocations: 8.579 MB / 0.7073 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.171, allocations: 51.02 kB / 0.7074 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 4.629e-06/1.171, allocations: 0 / 0.7074 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.01986/1.191, allocations: 8.059 MB / 0.7153 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.191, allocations: 115 kB / 0.7154 GB, free: 131 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.195, allocations: 2.183 MB / 0.7175 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.196, allocations: 30.14 kB / 0.7175 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.197, allocations: 2.601 MB / 0.7201 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/1.198, allocations: 393.7 kB / 0.7205 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.198, allocations: 0 / 0.7205 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002885/1.198, allocations: 486.8 kB / 0.7209 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/1.201, allocations: 1.293 MB / 0.7222 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/1.204, allocations: 3.738 MB / 0.7258 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/1.209, allocations: 2.264 MB / 0.728 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.912e-05/1.209, allocations: 29.81 kB / 0.7281 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008789/1.217, allocations: 4.688 MB / 0.7326 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/1.218, allocations: 45.47 kB / 0.7327 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.218, allocations: 84.75 kB / 0.7328 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/1.218, allocations: 131.4 kB / 0.7329 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/1.221, allocations: 1.031 MB / 0.7339 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/1.221, allocations: 173.8 kB / 0.7341 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.224, allocations: 166.3 kB / 0.7342 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.225, allocations: 259.5 kB / 0.7345 GB, free: 125.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],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 (537): * Single equations (assignments): 536 * 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.0005462/1.225, allocations: 351 kB / 0.7348 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002114/1.227, allocations: 1.535 MB / 0.7363 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/1.228, allocations: 217.9 kB / 0.7365 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.23, allocations: 1.712 MB / 0.7382 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.23, allocations: 10.73 kB / 0.7382 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.23, allocations: 8.953 kB / 0.7382 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.23, allocations: 3.891 kB / 0.7382 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/1.238, allocations: 5.588 MB / 0.7437 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.238, allocations: 20.42 kB / 0.7437 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/1.239, allocations: 266 kB / 0.7439 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/1.239, allocations: 25.94 kB / 0.744 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/1.239, allocations: 25.66 kB / 0.744 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-05/1.239, allocations: 32.62 kB / 0.744 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/1.239, allocations: 32.36 kB / 0.7441 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.242, allocations: 3.518 MB / 0.7475 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/1.243, allocations: 330.3 kB / 0.7478 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/1.243, allocations: 24.25 kB / 0.7478 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/1.244, allocations: 52.83 kB / 0.7479 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.244, allocations: 138.4 kB / 0.748 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/1.244, allocations: 53.59 kB / 0.7481 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00228/1.247, allocations: 1.448 MB / 0.7495 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.247, allocations: 3.812 kB / 0.7495 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004184/1.251, allocations: 0.6544 MB / 0.7501 GB, free: 119.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.003817/1.255, allocations: 8.577 MB / 0.7585 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.259, allocations: 2.864 MB / 0.7613 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.259, allocations: 3.25 kB / 0.7613 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007962/1.26, allocations: 0.7679 MB / 0.762 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.261, allocations: 228.3 kB / 0.7623 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.275, allocations: 7.243 MB / 0.7693 GB, free: 107 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.277, allocations: 3.031 MB / 0.7723 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002782/1.28, allocations: 1.031 MB / 0.7733 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.282, allocations: 1.589 MB / 0.7749 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/1.282, allocations: 0 / 0.7749 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08171/1.363, allocations: 50.59 MB / 0.8243 GB, free: 72.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.364, allocations: 129.2 kB / 0.8244 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.602, allocations: 4 kB / 0.8244 GB, free: 71.86 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat