Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 46.91 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 80.2 kB / 0.4913 GB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1495, allocations: 65.99 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01184/0.1613, allocations: 8.15 MB / 0.5637 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.1682, allocations: 2.656 MB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1696, allocations: 35.94 kB / 0.5663 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.1732, allocations: 1.297 MB / 0.5675 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.1749, allocations: 476 kB / 0.568 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1763, allocations: 419.1 kB / 0.5684 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.1784, allocations: 1.036 MB / 0.5694 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.1803, allocations: 1.027 MB / 0.5704 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.1814, allocations: 0.5255 MB / 0.5709 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.1832, allocations: 0.8138 MB / 0.5717 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.1838, allocations: 120 kB / 0.5718 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1853, allocations: 0.6122 MB / 0.5724 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.1867, allocations: 0.7283 MB / 0.5731 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.1884, allocations: 0.7881 MB / 0.5739 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1932, allocations: 2.513 MB / 0.5764 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1932, allocations: 0 / 0.5764 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1932, allocations: 0 / 0.5764 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.1933, allocations: 0 / 0.5764 GB, free: 0.8867 MB / 430.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.006912/0.2002, allocations: 2.165 MB / 0.5785 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.2003, allocations: 16.02 kB / 0.5785 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009207/0.2012, allocations: 292.6 kB / 0.5788 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.203, allocations: 283.4 kB / 0.5791 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.2057, allocations: 0.854 MB / 0.5799 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.2058, allocations: 90.7 kB / 0.58 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008358/0.2067, allocations: 127.9 kB / 0.5801 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.2195, allocations: 4.272 MB / 0.5843 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.2196, allocations: 7.938 kB / 0.5843 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006364/0.2203, allocations: 59.94 kB / 0.5843 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/0.2217, allocations: 0.7287 MB / 0.585 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.2319, allocations: 3.5 MB / 0.5885 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3155/0.5474, allocations: 14.26 MB / 0.6024 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.5522, allocations: 1.141 MB / 0.6035 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.5533, allocations: 0.5956 MB / 0.6041 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007442/0.5607, allocations: 3.695 MB / 0.6077 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5607, allocations: 41.89 kB / 0.6077 GB, free: 24.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.316e-06/0.5607, allocations: 0 / 0.6077 GB, free: 24.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.00759/0.5683, allocations: 1.763 MB / 0.6095 GB, free: 23.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5684, allocations: 63.66 kB / 0.6095 GB, free: 23.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.5719, allocations: 1.483 MB / 0.611 GB, free: 23.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.572, allocations: 30.73 kB / 0.611 GB, free: 23.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.5731, allocations: 1.24 MB / 0.6122 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.5734, allocations: 178.1 kB / 0.6124 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009089/0.5743, allocations: 436.2 kB / 0.6128 GB, free: 22.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5745, allocations: 356.2 kB / 0.6131 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.5755, allocations: 492.3 kB / 0.6136 GB, free: 21.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.5773, allocations: 1.895 MB / 0.6154 GB, free: 19.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.5804, allocations: 2.6 MB / 0.618 GB, free: 17.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.5805, allocations: 15.81 kB / 0.618 GB, free: 17.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005489/0.586, allocations: 2.272 MB / 0.6202 GB, free: 16.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.5861, allocations: 26.53 kB / 0.6202 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.5862, allocations: 51.72 kB / 0.6203 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.5864, allocations: 66.16 kB / 0.6204 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.5881, allocations: 490.2 kB / 0.6208 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/0.5883, allocations: 99.69 kB / 0.6209 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.5905, allocations: 317.7 kB / 0.6212 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/0.5909, allocations: 133 kB / 0.6214 GB, free: 15.85 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.00176/0.5927, allocations: 0.7574 MB / 0.6221 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/0.5931, allocations: 130.5 kB / 0.6222 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.5935, allocations: 141.6 kB / 0.6223 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5935, allocations: 5.766 kB / 0.6224 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.5935, allocations: 4 kB / 0.6224 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5936, allocations: 6.422 kB / 0.6224 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006375/0.5999, allocations: 2.89 MB / 0.6252 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.6, allocations: 13.31 kB / 0.6252 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.6003, allocations: 110.4 kB / 0.6253 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-05/0.6003, allocations: 15.69 kB / 0.6253 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.6004, allocations: 19.72 kB / 0.6253 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.6004, allocations: 23.67 kB / 0.6254 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.6004, allocations: 19.62 kB / 0.6254 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6014, allocations: 0.8737 MB / 0.6262 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.602, allocations: 222.5 kB / 0.6264 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.6023, allocations: 26.98 kB / 0.6265 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.603, allocations: 26.94 kB / 0.6265 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6031, allocations: 81.64 kB / 0.6266 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.6032, allocations: 31 kB / 0.6266 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.6048, allocations: 0.9044 MB / 0.6275 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6048, allocations: 0 / 0.6275 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002752/0.6075, allocations: 404.9 kB / 0.6279 GB, free: 11.84 MB / 446.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.001614/0.6091, allocations: 1.456 MB / 0.6293 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.6114, allocations: 1.17 MB / 0.6304 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/0.6114, allocations: 8.125 kB / 0.6304 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.6117, allocations: 234.3 kB / 0.6307 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.6136, allocations: 199.9 kB / 0.6309 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.6369, allocations: 14.07 MB / 0.6446 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.6392, allocations: 1.533 MB / 0.6461 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001708/0.6409, allocations: 0.5699 MB / 0.6467 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.642, allocations: 0.6164 MB / 0.6473 GB, free: 6.621 MB / 462.1 MB Notification: Performance of SimCode: time 1.864e-06/0.642, allocations: 0 / 0.6473 GB, free: 6.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07174/0.7138, allocations: 23.06 MB / 0.6698 GB, free: 15.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.32, allocations: 15.86 kB / 0.6698 GB, free: 15.68 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 15.876736178062856]