Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",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.001088/0.001088, allocations: 97.28 kB / 17 MB, free: 6.793 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.001257/0.001257, allocations: 185.7 kB / 17.89 MB, free: 6.051 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.417/1.417, allocations: 223.3 MB / 241.9 MB, free: 320 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.2119/0.2119, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 16 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02199/0.1445, allocations: 23.1 MB / 494.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1573, allocations: 5.129 MB / 499.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004931/0.1623, allocations: 103.8 kB / 500 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.1655, allocations: 1.026 MB / 0.4893 GB, free: 208 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.1732, allocations: 2.922 MB / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1747, allocations: 339.4 kB / 0.4924 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1765, allocations: 1.333 MB / 0.4937 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.1787, allocations: 1.635 MB / 0.4953 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.1794, allocations: 430.2 kB / 0.4957 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009231/0.1803, allocations: 0.7009 MB / 0.4964 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1804, allocations: 56 kB / 0.4965 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/0.1812, allocations: 451.4 kB / 0.4969 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.1817, allocations: 0.635 MB / 0.4975 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.182, allocations: 304.7 kB / 0.4978 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.1837, allocations: 1.89 MB / 0.4997 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1837, allocations: 0 / 0.4997 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1837, allocations: 7.938 kB / 0.4997 GB, free: 5.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.1837, allocations: 4 kB / 0.4997 GB, free: 5.465 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003273/0.187, allocations: 1.848 MB / 0.5015 GB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1871, allocations: 12.03 kB / 0.5015 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003393/0.1874, allocations: 292.4 kB / 0.5018 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/0.1883, allocations: 269.3 kB / 0.502 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1896, allocations: 0.8255 MB / 0.5028 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.1896, allocations: 86.33 kB / 0.5029 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.1899, allocations: 135.8 kB / 0.5031 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2541/0.4439, allocations: 4.265 MB / 0.5072 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.444, allocations: 9.906 kB / 0.5072 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.4442, allocations: 54.12 kB / 0.5073 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.4452, allocations: 0.7242 MB / 0.508 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007236/0.4525, allocations: 3.496 MB / 0.5114 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.4694, allocations: 14.3 MB / 0.5254 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.4732, allocations: 1.22 MB / 0.5266 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.4741, allocations: 0.6958 MB / 0.5272 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004257/0.4783, allocations: 3.697 MB / 0.5308 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4784, allocations: 38.14 kB / 0.5309 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.4784, allocations: 2.875 kB / 0.5309 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.005543/0.4839, allocations: 1.749 MB / 0.5326 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.484, allocations: 63.41 kB / 0.5327 GB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.4858, allocations: 1.475 MB / 0.5341 GB, free: 9.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.4859, allocations: 37.55 kB / 0.5341 GB, free: 9.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005963/0.4865, allocations: 1.196 MB / 0.5353 GB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4866, allocations: 180.1 kB / 0.5355 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.4867, allocations: 37.69 kB / 0.5355 GB, free: 8.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4869, allocations: 448.2 kB / 0.5359 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.4875, allocations: 477 kB / 0.5364 GB, free: 8.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4888, allocations: 1.88 MB / 0.5382 GB, free: 6.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4898, allocations: 0.8941 MB / 0.5391 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.4898, allocations: 14.91 kB / 0.5391 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002969/0.4928, allocations: 2.249 MB / 0.5413 GB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.4929, allocations: 29.8 kB / 0.5413 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.4929, allocations: 56.25 kB / 0.5414 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.708e-05/0.493, allocations: 72.97 kB / 0.5415 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4942, allocations: 489.3 kB / 0.5419 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.094e-05/0.4943, allocations: 102.2 kB / 0.542 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4955, allocations: 304.6 kB / 0.5423 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.4957, allocations: 130.5 kB / 0.5424 GB, free: 5.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.0009752/0.4966, allocations: 0.7724 MB / 0.5432 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4968, allocations: 122.8 kB / 0.5433 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.497, allocations: 139.6 kB / 0.5434 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.497, allocations: 7.469 kB / 0.5434 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.497, allocations: 0 / 0.5434 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.497, allocations: 3.984 kB / 0.5435 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.5, allocations: 2.89 MB / 0.5463 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5, allocations: 12 kB / 0.5463 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.5003, allocations: 100.3 kB / 0.5464 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.5003, allocations: 16 kB / 0.5464 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.5004, allocations: 24.81 kB / 0.5464 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.5004, allocations: 22.14 kB / 0.5464 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.5004, allocations: 19.47 kB / 0.5465 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.5012, allocations: 0.8761 MB / 0.5473 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.5014, allocations: 215.4 kB / 0.5475 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5015, allocations: 31.61 kB / 0.5476 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.5019, allocations: 30 kB / 0.5476 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.502, allocations: 72.58 kB / 0.5477 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.502, allocations: 26.69 kB / 0.5477 GB, free: 1.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009553/0.503, allocations: 0.9021 MB / 0.5486 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.503, allocations: 0 / 0.5486 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001667/0.5047, allocations: 408.1 kB / 0.5489 GB, free: 476 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.001217/0.5059, allocations: 1.447 MB / 0.5504 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.5078, allocations: 1.175 MB / 0.5515 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5078, allocations: 4 kB / 0.5515 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.5081, allocations: 235.5 kB / 0.5517 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5092, allocations: 194.5 kB / 0.5519 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.5238, allocations: 9.794 MB / 0.5615 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.5254, allocations: 1.536 MB / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.5269, allocations: 0.568 MB / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/0.5276, allocations: 0.6277 MB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5277, allocations: 0 / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04506/0.5727, allocations: 23.56 MB / 0.5872 GB, free: 8.512 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.573, allocations: 178.8 kB / 0.5873 GB, free: 8.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.156, allocations: 0 / 0.5873 GB, free: 8.27 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat