Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",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.001569/0.001572, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.052/2.052, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001725/0.001725, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.287/0.287, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.775e-05/4.792e-05, allocations: 4 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6258/0.7941, allocations: 108.1 MB / 0.5785 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.7945, allocations: 85.17 kB / 0.5785 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3626/1.157, allocations: 76.5 MB / 0.6533 GB, free: 7.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.157, allocations: 3.938 kB / 0.6533 GB, free: 7.035 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003099/1.157, allocations: 75.94 kB / 0.6533 GB, free: 6.961 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02476/1.182, allocations: 3.82 MB / 0.6571 GB, free: 3.082 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/1.182, allocations: 8.031 kB / 0.6571 GB, free: 3.074 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004585/1.187, allocations: 0.6673 MB / 0.6577 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009901/1.197, allocations: 0.6621 MB / 0.6584 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/1.209, allocations: 2.228 MB / 0.6605 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/1.21, allocations: 295.7 kB / 0.6608 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/1.212, allocations: 379.9 kB / 0.6612 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03415/1.246, allocations: 8.844 MB / 0.6698 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/1.246, allocations: 15.81 kB / 0.6698 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/1.247, allocations: 179.9 kB / 0.67 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/1.25, allocations: 0.8388 MB / 0.6708 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02804/1.278, allocations: 7.175 MB / 0.6778 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4273/1.706, allocations: 29.11 MB / 0.7063 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/1.719, allocations: 2.261 MB / 0.7085 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.722, allocations: 1.056 MB / 0.7095 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/1.739, allocations: 7.588 MB / 0.7169 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.739, allocations: 46.91 kB / 0.717 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 4.629e-06/1.739, allocations: 0 / 0.717 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.03347/1.772, allocations: 6.504 MB / 0.7233 GB, free: 120 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/1.772, allocations: 141.7 kB / 0.7235 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/1.778, allocations: 2.328 MB / 0.7257 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002689/1.779, allocations: 41.8 kB / 0.7258 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/1.781, allocations: 2.403 MB / 0.7281 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006844/1.781, allocations: 398.1 kB / 0.7285 GB, free: 118 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/1.782, allocations: 77.78 kB / 0.7286 GB, free: 118 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002628/1.782, allocations: 485.9 kB / 0.729 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/1.785, allocations: 1.039 MB / 0.73 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/1.789, allocations: 3.449 MB / 0.7334 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/1.794, allocations: 1.848 MB / 0.7352 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-05/1.794, allocations: 25.31 kB / 0.7352 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01105/1.805, allocations: 4.29 MB / 0.7394 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.926e-05/1.805, allocations: 44.38 kB / 0.7395 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/1.805, allocations: 84.47 kB / 0.7396 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/1.805, allocations: 128.1 kB / 0.7397 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/1.811, allocations: 0.9512 MB / 0.7406 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/1.811, allocations: 164.8 kB / 0.7408 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.816, allocations: 198.8 kB / 0.741 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009022/1.816, allocations: 230.5 kB / 0.7412 GB, free: 114.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (500): * Single equations (assignments): 500 * 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.000923/1.817, allocations: 442.6 kB / 0.7416 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/1.818, allocations: 228.6 kB / 0.7418 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.822, allocations: 1.359 MB / 0.7431 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.822, allocations: 11.69 kB / 0.7432 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.822, allocations: 0 / 0.7432 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.822, allocations: 6.469 kB / 0.7432 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.838, allocations: 6.172 MB / 0.7492 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.838, allocations: 15.22 kB / 0.7492 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.84, allocations: 244.4 kB / 0.7494 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-05/1.84, allocations: 28.81 kB / 0.7495 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.84, allocations: 42.31 kB / 0.7495 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.899e-05/1.84, allocations: 36.59 kB / 0.7495 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/1.84, allocations: 29.16 kB / 0.7496 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/1.844, allocations: 3.566 MB / 0.753 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/1.845, allocations: 330 kB / 0.7534 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005188/1.845, allocations: 51.16 kB / 0.7534 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/1.847, allocations: 56.3 kB / 0.7535 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/1.847, allocations: 129.5 kB / 0.7536 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/1.847, allocations: 52.03 kB / 0.7536 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00399/1.851, allocations: 1.65 MB / 0.7552 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.213e-06/1.851, allocations: 0 / 0.7552 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005291/1.857, allocations: 0.6846 MB / 0.7559 GB, free: 108.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.005398/1.862, allocations: 8.665 MB / 0.7644 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005766/1.868, allocations: 2.496 MB / 0.7668 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/1.868, allocations: 3.062 kB / 0.7668 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.869, allocations: 0.603 MB / 0.7674 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.872, allocations: 302.5 kB / 0.7677 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.895, allocations: 7.027 MB / 0.7746 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006051/1.901, allocations: 2.818 MB / 0.7773 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003479/1.905, allocations: 1.492 MB / 0.7788 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.704e-06/1.905, allocations: 0 / 0.7788 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.432/5.337, allocations: 58.81 MB / 0.8362 GB, free: 54.24 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat