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.001092/0.001092, allocations: 106.5 kB / 17.77 MB, free: 5.273 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.001182/0.001182, allocations: 195 kB / 18.71 MB, free: 4.348 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.202/0.202, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2919, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008493/0.3004, allocations: 8.125 MB / 0.5264 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005818/0.3063, allocations: 2.594 MB / 0.5289 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.3075, allocations: 37.38 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.3103, allocations: 1.278 MB / 0.5302 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3117, allocations: 449.5 kB / 0.5306 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.3127, allocations: 427 kB / 0.531 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.3143, allocations: 1.048 MB / 0.532 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.316, allocations: 1.214 MB / 0.5332 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008067/0.3168, allocations: 0.5307 MB / 0.5337 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.3178, allocations: 0.7692 MB / 0.5345 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.3181, allocations: 119.9 kB / 0.5346 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.319, allocations: 0.5829 MB / 0.5352 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.3197, allocations: 0.7095 MB / 0.5359 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.3204, allocations: 0.807 MB / 0.5367 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.323, allocations: 2.5 MB / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.323, allocations: 0 / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.323, allocations: 0 / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.3231, allocations: 0 / 0.5391 GB, free: 5.328 MB / 398.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.004609/0.3277, allocations: 2.137 MB / 0.5412 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3278, allocations: 9.75 kB / 0.5412 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004793/0.3282, allocations: 289 kB / 0.5415 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.3294, allocations: 273 kB / 0.5417 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.3314, allocations: 0.8551 MB / 0.5426 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.3315, allocations: 89.61 kB / 0.5427 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.3318, allocations: 127.4 kB / 0.5428 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/0.3394, allocations: 4.273 MB / 0.5469 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3395, allocations: 11.94 kB / 0.547 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.3396, allocations: 59.94 kB / 0.547 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009806/0.3406, allocations: 0.7248 MB / 0.5477 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.3476, allocations: 3.5 MB / 0.5511 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.3648, allocations: 14.24 MB / 0.565 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.3689, allocations: 1.215 MB / 0.5662 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.3698, allocations: 0.6975 MB / 0.5669 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00555/0.3753, allocations: 3.695 MB / 0.5705 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3754, allocations: 38.89 kB / 0.5706 GB, free: 5.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.3754, allocations: 4 kB / 0.5706 GB, free: 5.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.005979/0.3814, allocations: 1.756 MB / 0.5723 GB, free: 3.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3815, allocations: 59.34 kB / 0.5723 GB, free: 3.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.3837, allocations: 1.484 MB / 0.5738 GB, free: 2.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.3838, allocations: 33.7 kB / 0.5738 GB, free: 2.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.3846, allocations: 1.193 MB / 0.575 GB, free: 1.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.3848, allocations: 185.9 kB / 0.5752 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/0.3854, allocations: 431.1 kB / 0.5756 GB, free: 420 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3855, allocations: 353.9 kB / 0.5759 GB, free: 60 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.3862, allocations: 487.9 kB / 0.5764 GB, free: 15.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3878, allocations: 1.897 MB / 0.5782 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.3905, allocations: 2.597 MB / 0.5808 GB, free: 9.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/0.3905, allocations: 16 kB / 0.5808 GB, free: 9.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003843/0.3944, allocations: 2.262 MB / 0.583 GB, free: 7.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.3945, allocations: 31.94 kB / 0.583 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/0.3946, allocations: 52 kB / 0.5831 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.296e-05/0.3946, allocations: 64 kB / 0.5831 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.396, allocations: 491 kB / 0.5836 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.693e-05/0.3961, allocations: 100.3 kB / 0.5837 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.3978, allocations: 304.7 kB / 0.584 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.3981, allocations: 136 kB / 0.5841 GB, free: 6.215 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00123/0.3993, allocations: 0.7619 MB / 0.5849 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.3996, allocations: 130.3 kB / 0.585 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3999, allocations: 136.5 kB / 0.5851 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3999, allocations: 12 kB / 0.5851 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.3999, allocations: 4 kB / 0.5851 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3999, allocations: 3.984 kB / 0.5851 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.405, allocations: 2.886 MB / 0.588 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.405, allocations: 16 kB / 0.588 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.4054, allocations: 107.8 kB / 0.5881 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.4054, allocations: 12 kB / 0.5881 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4055, allocations: 20 kB / 0.5881 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.989e-05/0.4055, allocations: 23.88 kB / 0.5881 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.4055, allocations: 15.94 kB / 0.5881 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4065, allocations: 0.8752 MB / 0.589 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.407, allocations: 219.3 kB / 0.5892 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.4073, allocations: 23.98 kB / 0.5892 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.4078, allocations: 24 kB / 0.5892 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.4079, allocations: 79.58 kB / 0.5893 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.408, allocations: 28 kB / 0.5893 GB, free: 412 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001576/0.4096, allocations: 0.9131 MB / 0.5902 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4096, allocations: 0 / 0.5902 GB, free: 15.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002062/0.4116, allocations: 402.7 kB / 0.5906 GB, free: 15.09 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.4131, allocations: 1.449 MB / 0.592 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.4152, allocations: 1.217 MB / 0.5932 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.4152, allocations: 4.125 kB / 0.5932 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.4156, allocations: 238.5 kB / 0.5935 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.417, allocations: 211.8 kB / 0.5937 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/0.4375, allocations: 14.04 MB / 0.6074 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.4394, allocations: 1.536 MB / 0.6089 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001367/0.4407, allocations: 0.5738 MB / 0.6094 GB, free: 9.676 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/0.4416, allocations: 0.6125 MB / 0.61 GB, free: 9.062 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4416, allocations: 0 / 0.61 GB, free: 9.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.4895, allocations: 23.22 MB / 0.6327 GB, free: 2.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.81, allocations: 5.016 kB / 0.6327 GB, free: 2 MB / 494.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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches