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.001273/0.001274, allocations: 97.77 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.001627/0.001627, allocations: 183.4 kB / 17.88 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.415/1.415, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2492/0.2492, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004127, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02468/0.169, allocations: 21.89 MB / 493.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1826, allocations: 5.329 MB / 498.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004681/0.1873, allocations: 99.81 kB / 498.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.1908, allocations: 1.054 MB / 499.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.201, allocations: 3.086 MB / 0.4912 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2029, allocations: 303.5 kB / 0.4915 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.2046, allocations: 0.6397 MB / 0.4921 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.2075, allocations: 1.612 MB / 0.4937 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008369/0.2084, allocations: 354.7 kB / 0.494 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.2091, allocations: 0.5061 MB / 0.4945 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.2092, allocations: 59.94 kB / 0.4946 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.2099, allocations: 431.4 kB / 0.495 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.2105, allocations: 0.5923 MB / 0.4956 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.2107, allocations: 316.6 kB / 0.4959 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.2125, allocations: 1.886 MB / 0.4977 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2125, allocations: 0 / 0.4977 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2126, allocations: 0 / 0.4977 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.2126, allocations: 0 / 0.4977 GB, free: 7.395 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.003845/0.2164, allocations: 1.946 MB / 0.4996 GB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2165, allocations: 11.97 kB / 0.4996 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003384/0.2169, allocations: 292.4 kB / 0.4999 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2179, allocations: 313.3 kB / 0.5002 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.2194, allocations: 0.8214 MB / 0.501 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.2195, allocations: 94.31 kB / 0.5011 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.2197, allocations: 123.9 kB / 0.5012 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2538/0.4735, allocations: 4.35 MB / 0.5055 GB, free: 49.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.4735, allocations: 16.5 kB / 0.5055 GB, free: 49.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.4737, allocations: 60.73 kB / 0.5055 GB, free: 49.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.4751, allocations: 0.7178 MB / 0.5062 GB, free: 49.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008498/0.4836, allocations: 3.588 MB / 0.5097 GB, free: 48.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.5032, allocations: 14.36 MB / 0.5238 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.5072, allocations: 1.228 MB / 0.525 GB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005069/0.5123, allocations: 3.741 MB / 0.5286 GB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5124, allocations: 38.8 kB / 0.5287 GB, free: 35.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.5124, allocations: 0 / 0.5287 GB, free: 35.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.005678/0.5181, allocations: 1.749 MB / 0.5304 GB, free: 35.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5181, allocations: 63.12 kB / 0.5304 GB, free: 35.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.5201, allocations: 1.478 MB / 0.5319 GB, free: 34.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5202, allocations: 33.67 kB / 0.5319 GB, free: 34.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005963/0.5208, allocations: 1.198 MB / 0.5331 GB, free: 33.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5209, allocations: 174.2 kB / 0.5332 GB, free: 32.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.5209, allocations: 39.66 kB / 0.5333 GB, free: 32.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5211, allocations: 448.9 kB / 0.5337 GB, free: 32.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.5217, allocations: 476 kB / 0.5342 GB, free: 32.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5227, allocations: 1.87 MB / 0.536 GB, free: 29.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.5236, allocations: 0.8977 MB / 0.5369 GB, free: 28.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.5236, allocations: 16 kB / 0.5369 GB, free: 28.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002451/0.5261, allocations: 2.239 MB / 0.5391 GB, free: 26.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.5261, allocations: 31.95 kB / 0.5391 GB, free: 26.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.5262, allocations: 52 kB / 0.5391 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.557e-05/0.5262, allocations: 72 kB / 0.5392 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5273, allocations: 499 kB / 0.5397 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.913e-05/0.5274, allocations: 103.6 kB / 0.5398 GB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.5285, allocations: 305.2 kB / 0.5401 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.5286, allocations: 132 kB / 0.5402 GB, free: 25.23 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.0008194/0.5295, allocations: 0.7586 MB / 0.5409 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5296, allocations: 122.4 kB / 0.5411 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.5297, allocations: 147.5 kB / 0.5412 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5298, allocations: 4 kB / 0.5412 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5298, allocations: 4 kB / 0.5412 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5298, allocations: 7.984 kB / 0.5412 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.5327, allocations: 2.879 MB / 0.544 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.5327, allocations: 19.86 kB / 0.5441 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.533, allocations: 99.78 kB / 0.5441 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.533, allocations: 19.98 kB / 0.5442 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.533, allocations: 27.98 kB / 0.5442 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.533, allocations: 27.83 kB / 0.5442 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.533, allocations: 15.94 kB / 0.5442 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.5338, allocations: 1.595 MB / 0.5458 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.534, allocations: 223.3 kB / 0.546 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5341, allocations: 23.98 kB / 0.546 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.5345, allocations: 27.98 kB / 0.5461 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.5346, allocations: 71.69 kB / 0.5461 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.5346, allocations: 24 kB / 0.5461 GB, free: 18.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008155/0.5354, allocations: 0.9131 MB / 0.547 GB, free: 17.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5354, allocations: 0 / 0.547 GB, free: 17.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001423/0.5369, allocations: 398.7 kB / 0.5474 GB, free: 17.02 MB / 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.001375/0.5382, allocations: 5.544 MB / 0.5528 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5398, allocations: 1.173 MB / 0.554 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.5398, allocations: 5.812 kB / 0.554 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.54, allocations: 236.6 kB / 0.5542 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.5408, allocations: 192.1 kB / 0.5544 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/0.5695, allocations: 44.43 MB / 0.5978 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.571, allocations: 1.56 MB / 0.5993 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5725, allocations: 0.5725 MB / 0.5999 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.5732, allocations: 0.6203 MB / 0.6005 GB, free: 8.805 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5732, allocations: 0 / 0.6005 GB, free: 8.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.6161, allocations: 23.55 MB / 0.6235 GB, free: 1.465 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.6163, allocations: 173.7 kB / 0.6236 GB, free: 1.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.83, allocations: 0 / 0.6236 GB, free: 1.223 MB / 446.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