Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",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.0008871/0.0008871, allocations: 96.16 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.0009041/0.0009044, allocations: 183 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.419/1.419, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003269, allocations: 12 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.02788/0.1525, allocations: 29.15 MB / 0.489 GB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.1698, allocations: 7.137 MB / 0.4959 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/0.1748, allocations: 139.7 kB / 0.4961 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.1797, allocations: 1.431 MB / 0.4975 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.1934, allocations: 4.001 MB / 0.5014 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.1957, allocations: 371.4 kB / 0.5017 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1978, allocations: 0.8471 MB / 0.5026 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2785/0.4763, allocations: 3.967 MB / 0.5064 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4775, allocations: 0.4966 MB / 0.5069 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4787, allocations: 0.6677 MB / 0.5076 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.479, allocations: 89.53 kB / 0.5077 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4803, allocations: 0.5033 MB / 0.5081 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.4814, allocations: 0.8533 MB / 0.509 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.4821, allocations: 491.4 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005719/0.4878, allocations: 3.521 MB / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4878, allocations: 1.312 kB / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4878, allocations: 0 / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.488, allocations: 0 / 0.5129 GB, free: 11.57 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.006485/0.4945, allocations: 2.32 MB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4946, allocations: 9.406 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009494/0.4955, allocations: 425.2 kB / 0.5156 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4971, allocations: 375.8 kB / 0.5159 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.5, allocations: 1.217 MB / 0.5171 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.5002, allocations: 168.6 kB / 0.5173 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/0.5007, allocations: 215.1 kB / 0.5175 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.5151, allocations: 5.689 MB / 0.523 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.89e-05/0.5152, allocations: 11.44 kB / 0.523 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.5155, allocations: 94.56 kB / 0.5231 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/0.5168, allocations: 0.7844 MB / 0.5239 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.5286, allocations: 4.368 MB / 0.5282 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.5559, allocations: 17.17 MB / 0.5449 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.5605, allocations: 1.245 MB / 0.5462 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.5628, allocations: 2.065 MB / 0.5482 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5629, allocations: 38.84 kB / 0.5482 GB, free: 12.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.876e-06/0.5629, allocations: 2.812 kB / 0.5482 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02332/0.5862, allocations: 5.562 MB / 0.5536 GB, free: 7.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.5863, allocations: 60.41 kB / 0.5537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/0.591, allocations: 1.715 MB / 0.5554 GB, free: 6.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.5912, allocations: 46.38 kB / 0.5554 GB, free: 6.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.5926, allocations: 1.501 MB / 0.5569 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/0.5932, allocations: 403.7 kB / 0.5573 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.5934, allocations: 53.69 kB / 0.5573 GB, free: 4.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003029/0.5937, allocations: 419.7 kB / 0.5577 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.5954, allocations: 0.7609 MB / 0.5585 GB, free: 4.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.5981, allocations: 2.203 MB / 0.5606 GB, free: 1.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.6, allocations: 1.265 MB / 0.5619 GB, free: 0.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.6, allocations: 12 kB / 0.5619 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004853/0.6049, allocations: 2.971 MB / 0.5648 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.605, allocations: 31.83 kB / 0.5648 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-05/0.605, allocations: 52 kB / 0.5648 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.963e-05/0.6051, allocations: 80.77 kB / 0.5649 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.6069, allocations: 0.6025 MB / 0.5655 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.811e-05/0.607, allocations: 101.1 kB / 0.5656 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.6088, allocations: 110.5 kB / 0.5657 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.6091, allocations: 148.8 kB / 0.5659 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (340): * Single equations (assignments): 340 * 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.002667/0.6118, allocations: 1.127 MB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.6121, allocations: 166 kB / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.6143, allocations: 1.248 MB / 0.5683 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6143, allocations: 15.95 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6143, allocations: 0 / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6143, allocations: 3.984 kB / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.6246, allocations: 6.222 MB / 0.5744 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.6247, allocations: 20.94 kB / 0.5744 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.6254, allocations: 209.6 kB / 0.5746 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.928e-05/0.6254, allocations: 32 kB / 0.5747 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.6255, allocations: 48 kB / 0.5747 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.051e-05/0.6256, allocations: 39.16 kB / 0.5748 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/0.6256, allocations: 32.62 kB / 0.5748 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.6287, allocations: 3.12 MB / 0.5778 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.6293, allocations: 263 kB / 0.5781 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.6295, allocations: 51.97 kB / 0.5781 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.6302, allocations: 41.97 kB / 0.5782 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.6303, allocations: 131.2 kB / 0.5783 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.6304, allocations: 52 kB / 0.5784 GB, free: 312 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.6323, allocations: 1.131 MB / 0.5795 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6323, allocations: 0 / 0.5795 GB, free: 15.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00249/0.6348, allocations: 479.8 kB / 0.5799 GB, free: 14.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.005261/0.6401, allocations: 9.448 MB / 0.5891 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.6434, allocations: 1.753 MB / 0.5909 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.6434, allocations: 5.641 kB / 0.5909 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.6441, allocations: 489.4 kB / 0.5913 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.6456, allocations: 256.1 kB / 0.5916 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.6736, allocations: 43.37 MB / 0.6339 GB, free: 5.535 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.676, allocations: 2.128 MB / 0.636 GB, free: 3.375 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002062/0.6781, allocations: 0.6673 MB / 0.6367 GB, free: 2.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.6795, allocations: 0.96 MB / 0.6376 GB, free: 1.742 MB / 478.1 MB Notification: Performance of SimCode: time 2.755e-06/0.6795, allocations: 0 / 0.6376 GB, free: 1.742 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/0.7471, allocations: 34.8 MB / 0.6716 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.7474, allocations: 169.9 kB / 0.6717 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/3.749, allocations: 0 / 0.6717 GB, free: 14.97 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat