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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 12.88 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.03697/0.1816, allocations: 39.25 MB / 0.4988 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2978/0.4795, allocations: 9.048 MB / 0.5077 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01003/0.4896, allocations: 194.8 kB / 0.5078 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007922/0.4975, allocations: 1.946 MB / 0.5097 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01935/0.5169, allocations: 5.423 MB / 0.515 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.5201, allocations: 496.5 kB / 0.5155 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.5229, allocations: 1.113 MB / 0.5166 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006913/0.5298, allocations: 5.015 MB / 0.5215 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.5311, allocations: 0.6648 MB / 0.5221 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.5323, allocations: 0.8822 MB / 0.523 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.5326, allocations: 114 kB / 0.5231 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5338, allocations: 0.5589 MB / 0.5237 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.5348, allocations: 1.129 MB / 0.5248 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000738/0.5356, allocations: 0.6094 MB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.5405, allocations: 4.499 MB / 0.5298 GB, free: 5.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5405, allocations: 0 / 0.5298 GB, free: 5.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5405, allocations: 0 / 0.5298 GB, free: 5.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.5407, allocations: 0 / 0.5298 GB, free: 5.793 MB / 382.1 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.007956/0.5487, allocations: 3.243 MB / 0.5329 GB, free: 3.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.5487, allocations: 7.812 kB / 0.5329 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.5507, allocations: 0.5316 MB / 0.5334 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.5533, allocations: 0.6333 MB / 0.5341 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.5571, allocations: 1.719 MB / 0.5357 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.5573, allocations: 210.2 kB / 0.5359 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/0.5577, allocations: 273.2 kB / 0.5362 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.5726, allocations: 7.749 MB / 0.5438 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.186e-05/0.5727, allocations: 14.47 kB / 0.5438 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.573, allocations: 124 kB / 0.5439 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.5745, allocations: 1.106 MB / 0.545 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.5893, allocations: 6.322 MB / 0.5512 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/0.6244, allocations: 22.96 MB / 0.5736 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.6303, allocations: 1.877 MB / 0.5754 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008378/0.6387, allocations: 5.859 MB / 0.5811 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.6387, allocations: 43.2 kB / 0.5812 GB, free: 14.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.985e-06/0.6388, allocations: 4 kB / 0.5812 GB, free: 14.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.01411/0.6529, allocations: 4.402 MB / 0.5855 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6529, allocations: 62.75 kB / 0.5855 GB, free: 10.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.6559, allocations: 2.263 MB / 0.5877 GB, free: 7.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.656, allocations: 41.7 kB / 0.5878 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.6574, allocations: 2.044 MB / 0.5898 GB, free: 5.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.6577, allocations: 372.4 kB / 0.5901 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6578, allocations: 72 kB / 0.5902 GB, free: 5.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.658, allocations: 445.2 kB / 0.5906 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.6594, allocations: 0.8772 MB / 0.5915 GB, free: 4.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/0.6623, allocations: 2.934 MB / 0.5944 GB, free: 176 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.6646, allocations: 1.559 MB / 0.5959 GB, free: 14.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/0.6646, allocations: 24 kB / 0.5959 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006004/0.6706, allocations: 3.723 MB / 0.5995 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.6707, allocations: 38.34 kB / 0.5996 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.6709, allocations: 78.08 kB / 0.5996 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.671, allocations: 112 kB / 0.5998 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.6734, allocations: 0.7876 MB / 0.6005 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/0.6735, allocations: 147.4 kB / 0.6007 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.6757, allocations: 152.2 kB / 0.6008 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.676, allocations: 200 kB / 0.601 GB, free: 9.414 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSP.prismatic.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],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 (435): * Single equations (assignments): 435 * 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.002752/0.6787, allocations: 1.415 MB / 0.6024 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.6792, allocations: 205.4 kB / 0.6026 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.6814, allocations: 1.136 MB / 0.6037 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.6814, allocations: 8 kB / 0.6037 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6814, allocations: 3.953 kB / 0.6037 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6814, allocations: 3.984 kB / 0.6037 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008541/0.69, allocations: 5.153 MB / 0.6087 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.69, allocations: 15.94 kB / 0.6087 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.6907, allocations: 215.6 kB / 0.609 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.792e-05/0.6908, allocations: 24 kB / 0.609 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.6908, allocations: 40.62 kB / 0.609 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/0.6909, allocations: 31.86 kB / 0.609 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-05/0.6909, allocations: 33.52 kB / 0.6091 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.6938, allocations: 3.018 MB / 0.612 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.6944, allocations: 298.3 kB / 0.6123 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.6946, allocations: 39.98 kB / 0.6123 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.6953, allocations: 43.92 kB / 0.6124 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6954, allocations: 124 kB / 0.6125 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.6955, allocations: 48 kB / 0.6126 GB, free: 12.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.6976, allocations: 1.462 MB / 0.614 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6976, allocations: 0 / 0.614 GB, free: 11.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002702/0.7003, allocations: 0.5664 MB / 0.6145 GB, free: 10.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (117): * Single equations (assignments): 117 * 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.004653/0.705, allocations: 7.834 MB / 0.6222 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.7088, allocations: 2.105 MB / 0.6242 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.7088, allocations: 10.47 kB / 0.6242 GB, free: 148 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.7095, allocations: 0.5096 MB / 0.6247 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.711, allocations: 310.1 kB / 0.625 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04147/0.7525, allocations: 61.09 MB / 0.6847 GB, free: 316 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.7556, allocations: 2.519 MB / 0.6872 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002819/0.7585, allocations: 0.9097 MB / 0.6881 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.7601, allocations: 1.233 MB / 0.6893 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.7601, allocations: 0 / 0.6893 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/1.059, allocations: 42.91 MB / 0.7312 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.059, allocations: 176.7 kB / 0.7313 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.12, allocations: 0 / 0.7313 GB, free: 180.4 MB / 0.5294 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