Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.001911/0.001911, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002303/0.002303, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.49/1.49, 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.2579/0.2579, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003251/0.003251, allocations: 79.86 kB / 0.4913 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1534, allocations: 65.99 MB / 0.5557 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01622/0.1696, allocations: 12.01 MB / 0.5674 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009556/0.1792, allocations: 4.402 MB / 0.5717 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.1812, allocations: 71.75 kB / 0.5718 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005784/0.187, allocations: 2.784 MB / 0.5745 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005564/0.1926, allocations: 2.054 MB / 0.5765 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1949, allocations: 1.006 MB / 0.5775 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008267/0.2032, allocations: 5.369 MB / 0.5827 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.2078, allocations: 2.96 MB / 0.5856 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.2112, allocations: 1.748 MB / 0.5873 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.2156, allocations: 2.644 MB / 0.5899 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.2168, allocations: 368 kB / 0.5903 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.2199, allocations: 1.447 MB / 0.5917 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2793/0.4992, allocations: 2.241 MB / 0.5939 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003812/0.503, allocations: 2.554 MB / 0.5964 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.5151, allocations: 8.217 MB / 0.6044 GB, free: 9.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5151, allocations: 0.75 kB / 0.6044 GB, free: 9.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5151, allocations: 2.812 kB / 0.6044 GB, free: 9.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003083/0.5154, allocations: 0.6562 kB / 0.6044 GB, free: 9.289 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02175/0.5372, allocations: 6.02 MB / 0.6103 GB, free: 6.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5372, allocations: 10.53 kB / 0.6103 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002161/0.5394, allocations: 0.7931 MB / 0.6111 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07757/0.6169, allocations: 7.246 MB / 0.6181 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009819/0.6268, allocations: 3.617 MB / 0.6217 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.627, allocations: 258.1 kB / 0.6219 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.6284, allocations: 355.4 kB / 0.6223 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.6498, allocations: 12.28 MB / 0.6343 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.65, allocations: 57.16 kB / 0.6343 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005458/0.6505, allocations: 165.4 kB / 0.6345 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.654, allocations: 2.374 MB / 0.6368 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/0.6778, allocations: 10.7 MB / 0.6472 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07371/0.7515, allocations: 48.64 MB / 0.6947 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.7677, allocations: 5.636 MB / 0.7002 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/0.7725, allocations: 2.827 MB / 0.703 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02553/0.798, allocations: 13.03 MB / 0.7157 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.7981, allocations: 51.88 kB / 0.7158 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 5.24e-06/0.7981, allocations: 3.469 kB / 0.7158 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.122/0.9201, allocations: 38.92 MB / 0.7538 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.9203, allocations: 205.9 kB / 0.754 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/0.9286, allocations: 4.385 MB / 0.7583 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007313/0.9293, allocations: 61.7 kB / 0.7583 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.9326, allocations: 3.566 MB / 0.7618 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/0.9343, allocations: 0.9964 MB / 0.7628 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002385/0.9367, allocations: 1.377 MB / 0.7641 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9368, allocations: 305.1 kB / 0.7644 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005712/0.9425, allocations: 3.113 MB / 0.7675 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/0.9546, allocations: 7.045 MB / 0.7743 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.9721, allocations: 10.96 MB / 0.785 GB, free: 352 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.9722, allocations: 43.98 kB / 0.7851 GB, free: 308 kB / 0.5919 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03144/1.004, allocations: 12.64 MB / 0.7974 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/1.004, allocations: 64 kB / 0.7975 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002404/1.004, allocations: 136 kB / 0.7976 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.014, allocations: 3.24 MB / 0.8008 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006325/1.021, allocations: 1.532 MB / 0.8023 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/1.051, allocations: 16.62 MB / 0.8185 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006019/1.057, allocations: 435.4 kB / 0.8189 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.059, allocations: 407.2 kB / 0.8193 GB, free: 13.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005805/1.064, allocations: 2.341 MB / 0.8216 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.065, allocations: 433.1 kB / 0.822 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.082, allocations: 7.476 MB / 0.8293 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/1.082, allocations: 32 kB / 0.8294 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/1.082, allocations: 12 kB / 0.8294 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-05/1.082, allocations: 11.95 kB / 0.8294 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3013/1.383, allocations: 14.99 MB / 0.844 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.384, allocations: 1.219 kB / 0.844 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.386, allocations: 382.8 kB / 0.8444 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008115/1.394, allocations: 2.923 MB / 0.8472 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004795/1.394, allocations: 41.19 kB / 0.8473 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/1.412, allocations: 14.82 MB / 0.8617 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.412, allocations: 6.469 kB / 0.8618 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.428, allocations: 11.48 MB / 0.873 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.429, allocations: 476.5 kB / 0.8734 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/1.43, allocations: 37.89 kB / 0.8734 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.432, allocations: 193.8 kB / 0.8736 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/1.432, allocations: 145.5 kB / 0.8738 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.433, allocations: 64.88 kB / 0.8738 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003894/1.436, allocations: 2.743 MB / 0.8765 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/1.436, allocations: 2.031 kB / 0.8765 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005544/1.442, allocations: 1.299 MB / 0.8778 GB, free: 199.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01709/1.459, allocations: 12.14 MB / 0.8896 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.471, allocations: 7.527 MB / 0.897 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.471, allocations: 3.875 kB / 0.897 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004185/1.475, allocations: 2.874 MB / 0.8998 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.478, allocations: 0.5292 MB / 0.9003 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08496/1.563, allocations: 60.66 MB / 0.9595 GB, free: 110.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.567, allocations: 3.669 MB / 0.9631 GB, free: 106.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004285/1.571, allocations: 2.169 MB / 0.9652 GB, free: 104.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/1.574, allocations: 2.221 MB / 0.9674 GB, free: 102.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/1.574, allocations: 0 / 0.9674 GB, free: 102.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/1.705, allocations: 94.91 MB / 1.06 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.78/30.49, allocations: 12.97 kB / 1.06 GB, free: 7.508 MB / 0.6387 GB " [Timeout remaining time 629] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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: 34.51108689699322]