Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001755/0.001755, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001453/0.001453, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 46.95 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.89 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3025, allocations: 66.03 MB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009945/0.3125, allocations: 7.182 MB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005503/0.318, allocations: 2.513 MB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.3188, allocations: 39.88 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.3213, allocations: 1.242 MB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.3224, allocations: 477.7 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.3233, allocations: 415.1 kB / 0.5722 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.3245, allocations: 1.036 MB / 0.5732 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.3257, allocations: 0.9879 MB / 0.5741 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.3264, allocations: 0.5333 MB / 0.5747 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.3276, allocations: 0.763 MB / 0.5754 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.3278, allocations: 116 kB / 0.5755 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.3288, allocations: 0.5732 MB / 0.5761 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.3295, allocations: 0.7283 MB / 0.5768 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.3301, allocations: 0.6017 MB / 0.5774 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.3327, allocations: 2.517 MB / 0.5798 GB, free: 500 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3328, allocations: 3.938 kB / 0.5798 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3328, allocations: 0 / 0.5798 GB, free: 496 kB / 414.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.3328, allocations: 0 / 0.5798 GB, free: 496 kB / 414.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.004017/0.3368, allocations: 2.098 MB / 0.5819 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3368, allocations: 11.97 kB / 0.5819 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/0.3372, allocations: 292.6 kB / 0.5822 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009961/0.3382, allocations: 287.4 kB / 0.5824 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.3398, allocations: 0.7923 MB / 0.5832 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.3399, allocations: 90.7 kB / 0.5833 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.3402, allocations: 127.9 kB / 0.5834 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/0.348, allocations: 4.326 MB / 0.5877 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.348, allocations: 7.938 kB / 0.5877 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.3481, allocations: 59.94 kB / 0.5877 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.3493, allocations: 0.7248 MB / 0.5884 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007701/0.357, allocations: 3.5 MB / 0.5918 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.3769, allocations: 13.7 MB / 0.6052 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.381, allocations: 1.143 MB / 0.6063 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.3818, allocations: 0.588 MB / 0.6069 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005405/0.3872, allocations: 2.674 MB / 0.6095 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3873, allocations: 42.83 kB / 0.6096 GB, free: 1.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.3873, allocations: 0 / 0.6096 GB, free: 1.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006257/0.3935, allocations: 1.772 MB / 0.6113 GB, free: 15.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3936, allocations: 59.34 kB / 0.6114 GB, free: 15.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.3956, allocations: 1.561 MB / 0.6129 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3957, allocations: 33.7 kB / 0.6129 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.3966, allocations: 1.245 MB / 0.6141 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3967, allocations: 186.8 kB / 0.6143 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.3973, allocations: 435.5 kB / 0.6147 GB, free: 11.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3974, allocations: 353.9 kB / 0.6151 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.3982, allocations: 487.9 kB / 0.6155 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.4001, allocations: 1.897 MB / 0.6174 GB, free: 8.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.4032, allocations: 2.598 MB / 0.6199 GB, free: 5.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.4032, allocations: 19.94 kB / 0.6199 GB, free: 5.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003736/0.4069, allocations: 2.259 MB / 0.6221 GB, free: 2.879 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.407, allocations: 35.88 kB / 0.6222 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-05/0.4071, allocations: 48.84 kB / 0.6222 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.27e-05/0.4071, allocations: 71.98 kB / 0.6223 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4085, allocations: 495 kB / 0.6228 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.119e-05/0.4086, allocations: 99.64 kB / 0.6229 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.41, allocations: 309.7 kB / 0.6232 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.4101, allocations: 132 kB / 0.6233 GB, free: 1.711 MB / 462.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.001125/0.4113, allocations: 0.7658 MB / 0.624 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4115, allocations: 131.1 kB / 0.6242 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4117, allocations: 140.4 kB / 0.6243 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4117, allocations: 8 kB / 0.6243 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4117, allocations: 0 / 0.6243 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4117, allocations: 3.984 kB / 0.6243 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.4162, allocations: 2.795 MB / 0.627 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.4162, allocations: 15.94 kB / 0.627 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.4166, allocations: 99.77 kB / 0.6271 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.4166, allocations: 12 kB / 0.6271 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.4166, allocations: 24 kB / 0.6272 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.4166, allocations: 24.55 kB / 0.6272 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.4166, allocations: 19.94 kB / 0.6272 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4177, allocations: 0.8797 MB / 0.6281 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.4181, allocations: 143 kB / 0.6282 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4182, allocations: 31.98 kB / 0.6282 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.4186, allocations: 23.98 kB / 0.6283 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4187, allocations: 75.56 kB / 0.6283 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.4188, allocations: 28 kB / 0.6284 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.4201, allocations: 0.9089 MB / 0.6292 GB, free: 11.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 0 / 0.6292 GB, free: 11.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00169/0.4218, allocations: 410.9 kB / 0.6296 GB, free: 10.77 MB / 478.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.001656/0.4234, allocations: 1.458 MB / 0.6311 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.4258, allocations: 1.17 MB / 0.6322 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/0.4258, allocations: 4 kB / 0.6322 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4261, allocations: 238.6 kB / 0.6324 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4273, allocations: 201 kB / 0.6326 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.4465, allocations: 14.06 MB / 0.6464 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.4478, allocations: 0.9504 MB / 0.6473 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001401/0.4492, allocations: 0.5699 MB / 0.6478 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.45, allocations: 0.6164 MB / 0.6484 GB, free: 5.34 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.45, allocations: 0 / 0.6484 GB, free: 5.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/0.5074, allocations: 23.53 MB / 0.6714 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.83, allocations: 10.64 kB / 0.6714 GB, free: 14.16 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 16.31985423108563]