Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009122/0.0009123, allocations: 102.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008732/0.0008733, allocations: 191.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 45.9 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004117, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 63.46 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.02821/0.1842, allocations: 30.82 MB / 0.5004 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2947/0.4789, allocations: 7.109 MB / 0.5074 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007221/0.4862, allocations: 136.9 kB / 0.5075 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00555/0.4917, allocations: 1.447 MB / 0.5089 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.5072, allocations: 4.019 MB / 0.5128 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.5106, allocations: 0.5651 MB / 0.5134 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004827/0.5154, allocations: 2.052 MB / 0.5154 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006973/0.5224, allocations: 4.013 MB / 0.5193 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.5241, allocations: 0.661 MB / 0.52 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.5259, allocations: 1.019 MB / 0.521 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.5263, allocations: 91.47 kB / 0.521 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.5282, allocations: 0.7247 MB / 0.5218 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.5294, allocations: 0.9192 MB / 0.5227 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.5301, allocations: 496 kB / 0.5231 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.5343, allocations: 3.696 MB / 0.5267 GB, free: 6.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5343, allocations: 0.9375 kB / 0.5267 GB, free: 6.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5343, allocations: 4 kB / 0.5267 GB, free: 6.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.5345, allocations: 0 / 0.5267 GB, free: 6.918 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006674/0.5411, allocations: 2.449 MB / 0.5291 GB, free: 5.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5412, allocations: 12.66 kB / 0.5291 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001081/0.5423, allocations: 431.2 kB / 0.5296 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.5439, allocations: 365 kB / 0.5299 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.5463, allocations: 1.268 MB / 0.5311 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5464, allocations: 162.8 kB / 0.5313 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.5469, allocations: 218.6 kB / 0.5315 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.5604, allocations: 6.495 MB / 0.5379 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.5605, allocations: 13.5 kB / 0.5379 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.5607, allocations: 96.56 kB / 0.538 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001068/0.5618, allocations: 0.8152 MB / 0.5388 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.5743, allocations: 5.483 MB / 0.5441 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/0.6024, allocations: 19.09 MB / 0.5627 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/0.6092, allocations: 1.828 MB / 0.5645 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.6103, allocations: 0.6861 MB / 0.5652 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006682/0.617, allocations: 4.795 MB / 0.5699 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.617, allocations: 47.06 kB / 0.5699 GB, free: 7.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/0.617, allocations: 0 / 0.5699 GB, free: 7.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03591/0.653, allocations: 8.801 MB / 0.5785 GB, free: 14.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.653, allocations: 68.41 kB / 0.5786 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.6557, allocations: 1.823 MB / 0.5804 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.6559, allocations: 45.7 kB / 0.5804 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.657, allocations: 1.528 MB / 0.5819 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.6574, allocations: 411.7 kB / 0.5823 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.6575, allocations: 56 kB / 0.5823 GB, free: 10.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.6577, allocations: 415.6 kB / 0.5827 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.6593, allocations: 1.013 MB / 0.5837 GB, free: 9.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/0.6623, allocations: 2.515 MB / 0.5862 GB, free: 6.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.6645, allocations: 1.531 MB / 0.5877 GB, free: 4.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/0.6645, allocations: 17.75 kB / 0.5877 GB, free: 4.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005377/0.6699, allocations: 3.52 MB / 0.5911 GB, free: 1.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.67, allocations: 31.98 kB / 0.5912 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-05/0.67, allocations: 55.95 kB / 0.5912 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.879e-05/0.6701, allocations: 80 kB / 0.5913 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6722, allocations: 0.659 MB / 0.5919 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.008e-05/0.6723, allocations: 107.6 kB / 0.592 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.674, allocations: 152 kB / 0.5922 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.6742, allocations: 160 kB / 0.5923 GB, free: 15.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 352 * 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.001765/0.676, allocations: 1.13 MB / 0.5934 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.6762, allocations: 169.8 kB / 0.5936 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.6791, allocations: 1.749 MB / 0.5953 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.6792, allocations: 15.95 kB / 0.5953 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6792, allocations: 7.922 kB / 0.5953 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6792, allocations: 3.984 kB / 0.5953 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/0.6875, allocations: 5.438 MB / 0.6007 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6875, allocations: 12 kB / 0.6007 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.6884, allocations: 207.6 kB / 0.6009 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/0.6884, allocations: 23.98 kB / 0.6009 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.6885, allocations: 32 kB / 0.6009 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/0.6885, allocations: 23.88 kB / 0.6009 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.6885, allocations: 20.3 kB / 0.601 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6905, allocations: 1.67 MB / 0.6026 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.6909, allocations: 262.8 kB / 0.6028 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.6911, allocations: 35.98 kB / 0.6029 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.6917, allocations: 43.98 kB / 0.6029 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6919, allocations: 100.2 kB / 0.603 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.6919, allocations: 40 kB / 0.6031 GB, free: 4.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.6935, allocations: 1.195 MB / 0.6042 GB, free: 3.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6935, allocations: 1.641 kB / 0.6042 GB, free: 3.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002041/0.6956, allocations: 0.4961 MB / 0.6047 GB, free: 2.855 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.002347/0.6979, allocations: 2.295 MB / 0.6069 GB, free: 400 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.7012, allocations: 2.188 MB / 0.6091 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7012, allocations: 0 / 0.6091 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.702, allocations: 0.603 MB / 0.6097 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.7034, allocations: 259.1 kB / 0.6099 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/0.7292, allocations: 15.59 MB / 0.6251 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/0.7315, allocations: 2.079 MB / 0.6272 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002123/0.7336, allocations: 0.7266 MB / 0.6279 GB, free: 9.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.7351, allocations: 0.964 MB / 0.6288 GB, free: 8.395 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7351, allocations: 0 / 0.6288 GB, free: 8.395 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.7988, allocations: 38.99 MB / 0.6669 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.799, allocations: 170.5 kB / 0.6671 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.445, allocations: 0 / 0.6671 GB, free: 1.391 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat