Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",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.001208/0.001207, allocations: 177.1 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009645, allocations: 94.42 kB / 292.1 MB, free: 10.92 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.378/0.378, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 16 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4115, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5548, allocations: 109.1 MB / 0.6162 GB, free: 1.992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.555, allocations: 87.94 kB / 0.6163 GB, free: 1.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4447/0.9998, allocations: 67.61 MB / 0.6823 GB, free: 100.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9998, allocations: 0 / 0.6823 GB, free: 100.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002489/1, allocations: 66.19 kB / 0.6823 GB, free: 100.7 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01491/1.015, allocations: 3.425 MB / 0.6857 GB, free: 99.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.015, allocations: 11.88 kB / 0.6857 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002532/1.018, allocations: 0.5644 MB / 0.6862 GB, free: 99.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/1.022, allocations: 0.5635 MB / 0.6868 GB, free: 99.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008028/1.03, allocations: 2.037 MB / 0.6888 GB, free: 98.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/1.031, allocations: 257.9 kB / 0.689 GB, free: 98.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/1.033, allocations: 329.7 kB / 0.6893 GB, free: 98.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02823/1.061, allocations: 7.613 MB / 0.6968 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/1.061, allocations: 16.25 kB / 0.6968 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009595/1.062, allocations: 148.3 kB / 0.6969 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001236/1.063, allocations: 0.6099 MB / 0.6975 GB, free: 97.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/1.086, allocations: 6.298 MB / 0.7037 GB, free: 97.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/1.122, allocations: 24.13 MB / 0.7273 GB, free: 82.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/1.128, allocations: 1.862 MB / 0.7291 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009648/1.138, allocations: 5.814 MB / 0.7348 GB, free: 78.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/1.138, allocations: 50.48 kB / 0.7348 GB, free: 78.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=75): time 2.965e-06/1.138, allocations: 2.594 kB / 0.7348 GB, free: 78.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.0143/1.152, allocations: 4.482 MB / 0.7392 GB, free: 76.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.153, allocations: 63.16 kB / 0.7392 GB, free: 76.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/1.156, allocations: 2.014 MB / 0.7412 GB, free: 75.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/1.156, allocations: 45.3 kB / 0.7412 GB, free: 75.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.157, allocations: 2.04 MB / 0.7432 GB, free: 74.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/1.157, allocations: 372.6 kB / 0.7436 GB, free: 74.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.158, allocations: 70.47 kB / 0.7437 GB, free: 74.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/1.158, allocations: 441.1 kB / 0.7441 GB, free: 73.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.159, allocations: 0.8754 MB / 0.7449 GB, free: 73.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/1.161, allocations: 2.939 MB / 0.7478 GB, free: 70.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/1.163, allocations: 1.555 MB / 0.7493 GB, free: 69.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/1.163, allocations: 20.91 kB / 0.7493 GB, free: 69.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.004859/1.168, allocations: 3.731 MB / 0.753 GB, free: 67.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/1.168, allocations: 37.28 kB / 0.753 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/1.168, allocations: 77.41 kB / 0.7531 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.654e-05/1.168, allocations: 109.8 kB / 0.7532 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.17, allocations: 0.7869 MB / 0.754 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.716e-05/1.17, allocations: 157.5 kB / 0.7541 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.172, allocations: 150.8 kB / 0.7543 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.173, allocations: 204.4 kB / 0.7545 GB, free: 67.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.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],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 436 * 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.0021/1.175, allocations: 1.413 MB / 0.7558 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.175, allocations: 203.7 kB / 0.756 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/1.177, allocations: 1.143 MB / 0.7572 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.177, allocations: 11.81 kB / 0.7572 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.177, allocations: 0 / 0.7572 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.177, allocations: 10.8 kB / 0.7572 GB, free: 66.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009408/1.186, allocations: 5.394 MB / 0.7624 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.625e-05/1.186, allocations: 18.91 kB / 0.7625 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.187, allocations: 240.2 kB / 0.7627 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.191e-05/1.187, allocations: 34.2 kB / 0.7627 GB, free: 63.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.187, allocations: 42.66 kB / 0.7628 GB, free: 63.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-05/1.188, allocations: 41.11 kB / 0.7628 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.917e-05/1.188, allocations: 26.88 kB / 0.7628 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/1.19, allocations: 3.49 MB / 0.7662 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/1.191, allocations: 301.6 kB / 0.7665 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/1.192, allocations: 46.67 kB / 0.7666 GB, free: 59.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/1.192, allocations: 49.91 kB / 0.7666 GB, free: 59.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.192, allocations: 142.6 kB / 0.7668 GB, free: 59.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/1.192, allocations: 53.28 kB / 0.7668 GB, free: 59.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002092/1.195, allocations: 1.458 MB / 0.7682 GB, free: 59.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.195, allocations: 0 / 0.7682 GB, free: 59.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003061/1.198, allocations: 0.5874 MB / 0.7688 GB, free: 59.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.003576/1.201, allocations: 9.156 MB / 0.7777 GB, free: 50.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003311/1.205, allocations: 2.142 MB / 0.7798 GB, free: 49.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.205, allocations: 3.062 kB / 0.7798 GB, free: 49.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/1.205, allocations: 0.5748 MB / 0.7804 GB, free: 49.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.207, allocations: 327.8 kB / 0.7807 GB, free: 49.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.238, allocations: 61.34 MB / 0.8406 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.243, allocations: 2.528 MB / 0.8431 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002787/1.245, allocations: 0.9223 MB / 0.844 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.247, allocations: 1.245 MB / 0.8452 GB, free: 208 kB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/1.247, allocations: 0 / 0.8452 GB, free: 208 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3303/1.578, allocations: 43.67 MB / 0.8878 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001223/1.578, allocations: 169.7 kB / 0.888 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/4.791, allocations: 0.8438 kB / 0.888 GB, free: 128.6 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat