Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_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.001298/0.001298, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009083/0.0009082, allocations: 89.8 kB / 267 MB, free: 9.277 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.4028/0.4028, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.84e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5864, allocations: 108.1 MB / 0.5785 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5867, allocations: 81.77 kB / 0.5786 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2084/0.7951, allocations: 76.52 MB / 0.6533 GB, free: 9.922 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7952, allocations: 0 / 0.6533 GB, free: 9.922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.7953, allocations: 72 kB / 0.6534 GB, free: 9.852 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01184/0.8072, allocations: 3.814 MB / 0.6571 GB, free: 5.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.8073, allocations: 8.031 kB / 0.6571 GB, free: 5.973 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00253/0.8098, allocations: 0.6635 MB / 0.6577 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.8142, allocations: 0.67 MB / 0.6584 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006708/0.821, allocations: 2.22 MB / 0.6606 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.8213, allocations: 297.1 kB / 0.6608 GB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.8229, allocations: 383.8 kB / 0.6612 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.8471, allocations: 8.844 MB / 0.6698 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002093/0.8474, allocations: 19.81 kB / 0.6699 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/0.8492, allocations: 175.9 kB / 0.67 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.8512, allocations: 0.8427 MB / 0.6709 GB, free: 7.426 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.8698, allocations: 7.171 MB / 0.6779 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.345/1.215, allocations: 29.1 MB / 0.7063 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00791/1.223, allocations: 2.27 MB / 0.7085 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.225, allocations: 1.054 MB / 0.7095 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.235, allocations: 7.6 MB / 0.7169 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.235, allocations: 50.66 kB / 0.717 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 3.456e-06/1.235, allocations: 0 / 0.717 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.01764/1.253, allocations: 6.51 MB / 0.7233 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.253, allocations: 138.8 kB / 0.7235 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.256, allocations: 2.33 MB / 0.7258 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/1.256, allocations: 39.8 kB / 0.7258 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.257, allocations: 2.425 MB / 0.7282 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.258, allocations: 401.6 kB / 0.7285 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.258, allocations: 75 kB / 0.7286 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.258, allocations: 473 kB / 0.7291 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.259, allocations: 1.049 MB / 0.7301 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.261, allocations: 3.442 MB / 0.7335 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/1.263, allocations: 1.845 MB / 0.7353 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-05/1.263, allocations: 25.91 kB / 0.7353 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=500) (initialization): time 0.00638/1.27, allocations: 4.371 MB / 0.7395 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/1.27, allocations: 43.03 kB / 0.7396 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-05/1.27, allocations: 91.56 kB / 0.7397 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/1.27, allocations: 123.8 kB / 0.7398 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.273, allocations: 0.945 MB / 0.7407 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/1.273, allocations: 172.9 kB / 0.7409 GB, free: 84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.276, allocations: 197.1 kB / 0.7411 GB, free: 84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/1.277, allocations: 242 kB / 0.7413 GB, free: 84 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.000606/1.277, allocations: 431 kB / 0.7417 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/1.278, allocations: 227.5 kB / 0.7419 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.28, allocations: 1.354 MB / 0.7432 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/1.28, allocations: 10.38 kB / 0.7433 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.28, allocations: 2.625 kB / 0.7433 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.28, allocations: 6.891 kB / 0.7433 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.291, allocations: 6.17 MB / 0.7493 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.291, allocations: 26.62 kB / 0.7493 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/1.292, allocations: 239.5 kB / 0.7495 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.595e-05/1.292, allocations: 26.28 kB / 0.7496 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/1.292, allocations: 45.41 kB / 0.7496 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/1.292, allocations: 31.09 kB / 0.7496 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/1.292, allocations: 33.98 kB / 0.7497 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/1.295, allocations: 3.567 MB / 0.7532 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/1.296, allocations: 335 kB / 0.7535 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/1.297, allocations: 44.39 kB / 0.7535 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/1.298, allocations: 59.78 kB / 0.7536 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.298, allocations: 130 kB / 0.7537 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.298, allocations: 56.44 kB / 0.7538 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004416/1.302, allocations: 1.656 MB / 0.7554 GB, free: 78.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.02e-07/1.302, allocations: 0 / 0.7554 GB, free: 78.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00496/1.307, allocations: 0.6818 MB / 0.756 GB, free: 78.52 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.004371/1.312, allocations: 8.652 MB / 0.7645 GB, free: 70.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005067/1.317, allocations: 2.499 MB / 0.7669 GB, free: 69.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/1.317, allocations: 2.844 kB / 0.7669 GB, free: 69.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.318, allocations: 0.6039 MB / 0.7675 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.32, allocations: 304.6 kB / 0.7678 GB, free: 68.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.337, allocations: 6.631 MB / 0.7743 GB, free: 65.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.34, allocations: 2.814 MB / 0.777 GB, free: 64.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002847/1.343, allocations: 1.05 MB / 0.7781 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.345, allocations: 1.469 MB / 0.7795 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/1.345, allocations: 0 / 0.7795 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.431, allocations: 50.52 MB / 0.8288 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.431, allocations: 154.9 kB / 0.829 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/5.037, allocations: 0 / 0.829 GB, free: 46.84 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat