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.000936/0.000936, allocations: 97.48 kB / 17 MB, free: 6.418 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.0008165/0.0008165, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.322/1.322, allocations: 223.2 MB / 241.9 MB, free: 232 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.1996/0.1996, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002929, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03387/0.1551, allocations: 30.8 MB / 0.4907 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1714, allocations: 6.862 MB / 0.4974 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/0.1773, allocations: 139.7 kB / 0.4975 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004846/0.1822, allocations: 1.435 MB / 0.4989 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.1934, allocations: 4.035 MB / 0.5029 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1961, allocations: 407.3 kB / 0.5032 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2435/0.4396, allocations: 1.97 MB / 0.5052 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006716/0.4464, allocations: 3.994 MB / 0.5091 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.4479, allocations: 0.6351 MB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.4501, allocations: 0.9909 MB / 0.5107 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.4505, allocations: 91.22 kB / 0.5107 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4519, allocations: 0.5318 MB / 0.5113 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.4534, allocations: 0.9113 MB / 0.5121 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009355/0.4544, allocations: 493.7 kB / 0.5126 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00634/0.4607, allocations: 3.525 MB / 0.5161 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4608, allocations: 1.969 kB / 0.5161 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4608, allocations: 0.5312 kB / 0.5161 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001817/0.461, allocations: 0 / 0.5161 GB, free: 10.98 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.006792/0.4678, allocations: 2.319 MB / 0.5183 GB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4678, allocations: 8.188 kB / 0.5183 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.4691, allocations: 424 kB / 0.5187 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.4706, allocations: 353.4 kB / 0.5191 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.473, allocations: 1.21 MB / 0.5203 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.4732, allocations: 162.3 kB / 0.5204 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004411/0.4736, allocations: 220 kB / 0.5206 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4873, allocations: 5.612 MB / 0.5261 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.586e-05/0.4875, allocations: 10.47 kB / 0.5261 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.4877, allocations: 96.3 kB / 0.5262 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/0.4888, allocations: 0.7817 MB / 0.527 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.4991, allocations: 4.285 MB / 0.5312 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.522, allocations: 17.14 MB / 0.5479 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.5266, allocations: 1.237 MB / 0.5491 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.5274, allocations: 398.1 kB / 0.5495 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/0.5294, allocations: 2.057 MB / 0.5515 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.5295, allocations: 49.7 kB / 0.5515 GB, free: 10.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.867e-06/0.5295, allocations: 0 / 0.5515 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.021/0.5505, allocations: 5.523 MB / 0.5569 GB, free: 5.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5506, allocations: 64.41 kB / 0.557 GB, free: 5.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.5534, allocations: 1.713 MB / 0.5587 GB, free: 4.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/0.5535, allocations: 43.77 kB / 0.5587 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.5546, allocations: 1.503 MB / 0.5602 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.5549, allocations: 406.3 kB / 0.5606 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.555, allocations: 56.44 kB / 0.5606 GB, free: 2.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.5553, allocations: 418.4 kB / 0.561 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5565, allocations: 0.7623 MB / 0.5618 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.5588, allocations: 2.202 MB / 0.5639 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.5606, allocations: 1.274 MB / 0.5651 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.5607, allocations: 16 kB / 0.5652 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004418/0.5651, allocations: 2.974 MB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.5651, allocations: 25.5 kB / 0.5681 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/0.5652, allocations: 52.09 kB / 0.5681 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.938e-05/0.5653, allocations: 79.98 kB / 0.5682 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.567, allocations: 0.6034 MB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.726e-05/0.5671, allocations: 103 kB / 0.5689 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5686, allocations: 107.9 kB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.5688, allocations: 152 kB / 0.5692 GB, free: 9.898 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.0019/0.5707, allocations: 1.127 MB / 0.5703 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.5709, allocations: 161.9 kB / 0.5704 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.573, allocations: 1.244 MB / 0.5716 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.573, allocations: 8 kB / 0.5716 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.573, allocations: 0 / 0.5716 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5731, allocations: 13.5 kB / 0.5716 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00864/0.5817, allocations: 6.226 MB / 0.5777 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.5818, allocations: 16 kB / 0.5777 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.5824, allocations: 205.1 kB / 0.5779 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.295e-05/0.5824, allocations: 35.95 kB / 0.578 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.5825, allocations: 44 kB / 0.578 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-05/0.5825, allocations: 38.27 kB / 0.578 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.5825, allocations: 33.27 kB / 0.5781 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.5843, allocations: 1.655 MB / 0.5797 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.5847, allocations: 263 kB / 0.5799 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5849, allocations: 47.98 kB / 0.58 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.5855, allocations: 47.91 kB / 0.58 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5856, allocations: 140.1 kB / 0.5802 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.5857, allocations: 48 kB / 0.5802 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.5875, allocations: 1.133 MB / 0.5813 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5876, allocations: 0 / 0.5813 GB, free: 13.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002427/0.59, allocations: 471.8 kB / 0.5818 GB, free: 12.55 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.002363/0.5924, allocations: 2.284 MB / 0.584 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.5953, allocations: 1.753 MB / 0.5857 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.5953, allocations: 5.938 kB / 0.5857 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.596, allocations: 492.2 kB / 0.5862 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.5977, allocations: 265.9 kB / 0.5864 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.625, allocations: 14.57 MB / 0.6007 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.6273, allocations: 2.093 MB / 0.6027 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002073/0.6294, allocations: 0.6673 MB / 0.6034 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.6307, allocations: 0.9562 MB / 0.6043 GB, free: 3.922 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6307, allocations: 0 / 0.6043 GB, free: 3.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/0.6937, allocations: 35.33 MB / 0.6388 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.694, allocations: 170.8 kB / 0.639 GB, free: 0.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/3.928, allocations: 9.906 kB / 0.639 GB, free: 0.6172 MB / 478.1 MB (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