Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8208/0.8208, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.314e-05, allocations: 6.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00575/0.005763, allocations: 8.076 MB / 414.9 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.009019, allocations: 2.577 MB / 417.5 MB, free: 7.516 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.009455, allocations: 43.88 kB / 417.6 MB, free: 7.473 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.01077, allocations: 1.351 MB / 418.9 MB, free: 6.117 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.01144, allocations: 0.5903 MB / 419.5 MB, free: 5.523 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.01194, allocations: 454.8 kB / 419.9 MB, free: 5.078 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.01273, allocations: 1.277 MB / 421.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007729/0.0135, allocations: 1.089 MB / 422.3 MB, free: 2.684 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.01408, allocations: 0.8923 MB / 423.2 MB, free: 1.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.01476, allocations: 0.8064 MB / 424 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.01486, allocations: 124 kB / 424.1 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.01536, allocations: 0.5887 MB / 424.7 MB, free: 276 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.0158, allocations: 0.8647 MB / 425.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.01616, allocations: 0.5255 MB / 426.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.01785, allocations: 2.869 MB / 429 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01785, allocations: 0 / 429 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01785, allocations: 0 / 429 MB, free: 12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.01787, allocations: 0 / 429 MB, free: 12 MB / 410.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.002443/0.02031, allocations: 2.344 MB / 431.3 MB, free: 9.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.02035, allocations: 12.03 kB / 431.3 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.0206, allocations: 347.9 kB / 431.7 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.02131, allocations: 371.1 kB / 432 MB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.02217, allocations: 0.8385 MB / 432.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.02222, allocations: 111.1 kB / 433 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.02239, allocations: 156.4 kB / 433.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00434/0.02673, allocations: 4.935 MB / 438.1 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.02675, allocations: 11.94 kB / 438.1 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.02685, allocations: 75.91 kB / 438.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008117/0.02766, allocations: 0.9482 MB / 439.1 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/0.03178, allocations: 3.788 MB / 442.9 MB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.04218, allocations: 15.67 MB / 458.6 MB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.04446, allocations: 1.302 MB / 459.9 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.04494, allocations: 0.6053 MB / 460.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002817/0.04776, allocations: 3.03 MB / 463.5 MB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.04778, allocations: 42.5 kB / 463.5 MB, free: 8.551 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 1.403e-06/0.04778, allocations: 0 / 463.5 MB, free: 8.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.003434/0.05121, allocations: 1.967 MB / 465.5 MB, free: 6.574 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.05125, allocations: 107.1 kB / 465.6 MB, free: 6.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.05243, allocations: 1.708 MB / 467.3 MB, free: 4.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.05245, allocations: 33.7 kB / 467.3 MB, free: 4.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.053, allocations: 1.448 MB / 468.8 MB, free: 3.223 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.05332, allocations: 194.6 kB / 469 MB, free: 3.031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.0536, allocations: 460.1 kB / 469.4 MB, free: 2.574 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.0537, allocations: 361.9 kB / 469.8 MB, free: 2.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.05415, allocations: 0.5081 MB / 470.3 MB, free: 1.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1439/0.1981, allocations: 2.06 MB / 472.4 MB, free: 97.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.1996, allocations: 2.823 MB / 475.2 MB, free: 95.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.1997, allocations: 20.03 kB / 475.2 MB, free: 95.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00199/0.2016, allocations: 2.461 MB / 477.7 MB, free: 94.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2017, allocations: 32.88 kB / 477.7 MB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.2017, allocations: 59.59 kB / 477.7 MB, free: 94.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/0.2017, allocations: 76.81 kB / 477.8 MB, free: 94.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.2025, allocations: 0.5418 MB / 478.4 MB, free: 94.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.688e-05/0.2025, allocations: 105 kB / 478.5 MB, free: 94.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.2033, allocations: 348.4 kB / 478.8 MB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.2034, allocations: 142.5 kB / 478.9 MB, free: 94.33 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007495/0.2041, allocations: 0.8637 MB / 479.8 MB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2042, allocations: 140.1 kB / 479.9 MB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.2043, allocations: 158.4 kB / 480.1 MB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2043, allocations: 3 kB / 480.1 MB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2043, allocations: 2.969 kB / 480.1 MB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2043, allocations: 5.312 kB / 480.1 MB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.2065, allocations: 3.187 MB / 483.3 MB, free: 92.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.2065, allocations: 15.78 kB / 483.3 MB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2067, allocations: 106.9 kB / 483.4 MB, free: 92.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.2067, allocations: 15.16 kB / 483.4 MB, free: 92.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2067, allocations: 26.59 kB / 483.5 MB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.2067, allocations: 19.72 kB / 483.5 MB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2067, allocations: 20.97 kB / 483.5 MB, free: 92.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.2072, allocations: 0.8836 MB / 484.4 MB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2073, allocations: 154.9 kB / 484.5 MB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.2073, allocations: 30.05 kB / 484.6 MB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2076, allocations: 24.11 kB / 484.6 MB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.2076, allocations: 76.38 kB / 484.7 MB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2076, allocations: 26.38 kB / 484.7 MB, free: 91.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006645/0.2083, allocations: 1.001 MB / 485.7 MB, free: 90.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2083, allocations: 0 / 485.7 MB, free: 90.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009627/0.2092, allocations: 488 kB / 486.2 MB, free: 90.86 MB / 442.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 (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.0006207/0.2099, allocations: 1.46 MB / 487.6 MB, free: 89.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.2107, allocations: 1.242 MB / 488.9 MB, free: 89.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2107, allocations: 3.594 kB / 488.9 MB, free: 89.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2109, allocations: 237.1 kB / 489.1 MB, free: 89.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.2114, allocations: 190.9 kB / 489.3 MB, free: 89.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2216, allocations: 15.35 MB / 0.4928 GB, free: 78.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.2224, allocations: 1.119 MB / 0.4939 GB, free: 78.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008201/0.2232, allocations: 0.6169 MB / 0.4945 GB, free: 78.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.2237, allocations: 0.7489 MB / 0.4952 GB, free: 77.41 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2237, allocations: 0 / 0.4952 GB, free: 77.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.2545, allocations: 25.22 MB / 0.5199 GB, free: 64.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.661, allocations: 8.062 kB / 0.5199 GB, free: 64.5 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.693591816350818]