Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 174.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008191/0.0008191, allocations: 97.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.29/0.29, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09182, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.1716/0.2635, allocations: 24.03 MB / 0.5029 GB, free: 33.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009506/0.273, allocations: 5.235 MB / 0.508 GB, free: 29.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.2761, allocations: 101.3 kB / 0.5081 GB, free: 29.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.278, allocations: 1.065 MB / 0.5091 GB, free: 29.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.2838, allocations: 2.996 MB / 0.5121 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2848, allocations: 371.1 kB / 0.5124 GB, free: 28.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2862, allocations: 1.609 MB / 0.514 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.2879, allocations: 1.813 MB / 0.5157 GB, free: 26.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.2884, allocations: 0.4951 MB / 0.5162 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.2891, allocations: 0.7822 MB / 0.517 GB, free: 26.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2892, allocations: 65.06 kB / 0.5171 GB, free: 26.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007068/0.2899, allocations: 0.5712 MB / 0.5176 GB, free: 26.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.2904, allocations: 0.7259 MB / 0.5183 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.2908, allocations: 0.8224 MB / 0.5191 GB, free: 25.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.2921, allocations: 2.143 MB / 0.5212 GB, free: 24.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2921, allocations: 0 / 0.5212 GB, free: 24.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2922, allocations: 3.031 kB / 0.5212 GB, free: 24.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.2922, allocations: 0 / 0.5212 GB, free: 24.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.002905/0.2951, allocations: 2.03 MB / 0.5232 GB, free: 23.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2951, allocations: 10.06 kB / 0.5232 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000292/0.2954, allocations: 349.3 kB / 0.5235 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.2964, allocations: 275 kB / 0.5238 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.2974, allocations: 0.8887 MB / 0.5247 GB, free: 22.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.2974, allocations: 115.6 kB / 0.5248 GB, free: 22.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.2976, allocations: 140.1 kB / 0.5249 GB, free: 22.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/0.304, allocations: 4.905 MB / 0.5297 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.3041, allocations: 14.47 kB / 0.5297 GB, free: 20.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.3042, allocations: 60.19 kB / 0.5298 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.3056, allocations: 1.01 MB / 0.5308 GB, free: 20.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006623/0.3122, allocations: 3.791 MB / 0.5345 GB, free: 19.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.3288, allocations: 16.41 MB / 0.5505 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.3326, allocations: 1.269 MB / 0.5517 GB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.3333, allocations: 0.711 MB / 0.5524 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004483/0.3378, allocations: 4.031 MB / 0.5564 GB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3379, allocations: 45.94 kB / 0.5564 GB, free: 3.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 2.315e-06/0.3379, allocations: 0 / 0.5564 GB, free: 3.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.005519/0.3434, allocations: 1.775 MB / 0.5581 GB, free: 3.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3435, allocations: 107.9 kB / 0.5583 GB, free: 3.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.3453, allocations: 1.602 MB / 0.5598 GB, free: 2.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3454, allocations: 32.42 kB / 0.5598 GB, free: 2.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.3459, allocations: 1.398 MB / 0.5612 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.346, allocations: 183 kB / 0.5614 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.3461, allocations: 45.34 kB / 0.5614 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3463, allocations: 462.8 kB / 0.5619 GB, free: 296 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.347, allocations: 0.4985 MB / 0.5624 GB, free: 56 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.3488, allocations: 2.053 MB / 0.5644 GB, free: 13.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.3514, allocations: 2.815 MB / 0.5671 GB, free: 9.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.3515, allocations: 16 kB / 0.5671 GB, free: 9.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003311/0.3548, allocations: 2.442 MB / 0.5695 GB, free: 7.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.3548, allocations: 31.94 kB / 0.5695 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/0.3549, allocations: 56 kB / 0.5696 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.102e-05/0.355, allocations: 72 kB / 0.5697 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.3563, allocations: 0.5419 MB / 0.5702 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.977e-05/0.3564, allocations: 107.6 kB / 0.5703 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.3578, allocations: 344.3 kB / 0.5706 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.3579, allocations: 144.2 kB / 0.5708 GB, free: 5.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.00123/0.3592, allocations: 0.8634 MB / 0.5716 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3593, allocations: 134.2 kB / 0.5717 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.3596, allocations: 153.6 kB / 0.5719 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3596, allocations: 8 kB / 0.5719 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3596, allocations: 0 / 0.5719 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3596, allocations: 7.922 kB / 0.5719 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.3637, allocations: 3.275 MB / 0.5751 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.3638, allocations: 16.03 kB / 0.5751 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3641, allocations: 99.83 kB / 0.5752 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.3641, allocations: 16 kB / 0.5752 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.3641, allocations: 24 kB / 0.5752 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.3641, allocations: 27.86 kB / 0.5753 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.3642, allocations: 19.25 kB / 0.5753 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008599/0.365, allocations: 0.8887 MB / 0.5762 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.3653, allocations: 235.2 kB / 0.5764 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3655, allocations: 27.98 kB / 0.5764 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.3659, allocations: 24 kB / 0.5764 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.366, allocations: 79.62 kB / 0.5765 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.366, allocations: 28 kB / 0.5765 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.3672, allocations: 0.975 MB / 0.5775 GB, free: 14.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.053e-06/0.3672, allocations: 0 / 0.5775 GB, free: 14.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001647/0.3689, allocations: 490 kB / 0.578 GB, free: 14.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.001115/0.37, allocations: 1.466 MB / 0.5794 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3717, allocations: 1.261 MB / 0.5806 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3717, allocations: 0 / 0.5806 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.372, allocations: 246.4 kB / 0.5808 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.3748, allocations: 185.7 kB / 0.581 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.3896, allocations: 11.22 MB / 0.592 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.3911, allocations: 1.702 MB / 0.5936 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/0.3919, allocations: 0.7648 MB / 0.5944 GB, free: 11.78 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3919, allocations: 0 / 0.5944 GB, free: 11.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.898/4.29, allocations: 27.49 MB / 0.6212 GB, free: 296 kB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches