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.001368/0.001368, allocations: 120.1 kB / 18.49 MB, free: 4.559 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.001482/0.001482, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.459/1.459, allocations: 230.4 MB / 254.7 MB, free: 14.82 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.2226/0.2226, allocations: 46.91 MB / 357.7 MB, free: 10.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 75.88 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1183, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009899/0.1282, allocations: 8.146 MB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.1333, allocations: 2.65 MB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.134, allocations: 39.88 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.1366, allocations: 1.316 MB / 0.568 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1378, allocations: 461.7 kB / 0.5685 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.1388, allocations: 415.1 kB / 0.5689 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1402, allocations: 1.043 MB / 0.5699 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1415, allocations: 1.023 MB / 0.5709 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.1421, allocations: 0.541 MB / 0.5714 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.1433, allocations: 0.8176 MB / 0.5722 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.1435, allocations: 116 kB / 0.5723 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.1444, allocations: 0.6084 MB / 0.5729 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007314/0.1451, allocations: 0.7206 MB / 0.5736 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008145/0.1459, allocations: 0.7998 MB / 0.5744 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.149, allocations: 2.505 MB / 0.5768 GB, free: 224 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.149, allocations: 0 / 0.5768 GB, free: 224 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.149, allocations: 0 / 0.5768 GB, free: 224 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.609e-05/0.1491, allocations: 0 / 0.5768 GB, free: 224 kB / 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.004921/0.154, allocations: 2.169 MB / 0.579 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1541, allocations: 16.02 kB / 0.579 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.958e-05/0.1541, allocations: 38.56 kB / 0.579 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004063/0.1545, allocations: 288.6 kB / 0.5793 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.1556, allocations: 287.4 kB / 0.5796 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.1571, allocations: 0.8579 MB / 0.5804 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.1572, allocations: 94.45 kB / 0.5805 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.1575, allocations: 123.9 kB / 0.5806 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007948/0.1654, allocations: 4.272 MB / 0.5848 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.1655, allocations: 7.938 kB / 0.5848 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.1656, allocations: 59.94 kB / 0.5848 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.1667, allocations: 0.7287 MB / 0.5856 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/0.1743, allocations: 3.5 MB / 0.589 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/0.4085, allocations: 14.26 MB / 0.6029 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.4129, allocations: 1.138 MB / 0.604 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008535/0.4138, allocations: 0.5887 MB / 0.6046 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005099/0.4189, allocations: 3.704 MB / 0.6082 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4189, allocations: 38.86 kB / 0.6082 GB, free: 23.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.766e-06/0.4189, allocations: 0.6562 kB / 0.6082 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006664/0.4256, allocations: 1.768 MB / 0.61 GB, free: 23.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.4256, allocations: 60.31 kB / 0.61 GB, free: 23.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.4277, allocations: 1.479 MB / 0.6115 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.4277, allocations: 32.08 kB / 0.6115 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.4283, allocations: 1.252 MB / 0.6127 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4284, allocations: 180.2 kB / 0.6129 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.4289, allocations: 435.9 kB / 0.6133 GB, free: 21.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.4289, allocations: 354 kB / 0.6136 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.4296, allocations: 487.3 kB / 0.6141 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.4307, allocations: 1.89 MB / 0.616 GB, free: 19.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.4327, allocations: 2.6 MB / 0.6185 GB, free: 16.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.786e-05/0.4327, allocations: 15.5 kB / 0.6185 GB, free: 16.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003245/0.436, allocations: 2.268 MB / 0.6207 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.436, allocations: 31.81 kB / 0.6208 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-05/0.4361, allocations: 50.75 kB / 0.6208 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.638e-05/0.4362, allocations: 66.66 kB / 0.6209 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4374, allocations: 494 kB / 0.6213 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.86e-05/0.4375, allocations: 103.3 kB / 0.6214 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.4388, allocations: 310.5 kB / 0.6217 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.4389, allocations: 135.2 kB / 0.6219 GB, free: 15.29 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.0008074/0.4397, allocations: 0.758 MB / 0.6226 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4399, allocations: 129.8 kB / 0.6227 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.4401, allocations: 148.3 kB / 0.6229 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4401, allocations: 3.5 kB / 0.6229 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4401, allocations: 0 / 0.6229 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4401, allocations: 1.969 kB / 0.6229 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.4432, allocations: 2.897 MB / 0.6257 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.4432, allocations: 15.72 kB / 0.6257 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.4435, allocations: 98.36 kB / 0.6258 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.4435, allocations: 19.69 kB / 0.6258 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.4435, allocations: 27.12 kB / 0.6259 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.4435, allocations: 23.67 kB / 0.6259 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.4435, allocations: 19.62 kB / 0.6259 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.4442, allocations: 0.8784 MB / 0.6268 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.4444, allocations: 218.3 kB / 0.627 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4445, allocations: 31.67 kB / 0.627 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4449, allocations: 27.08 kB / 0.627 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.445, allocations: 76.39 kB / 0.6271 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.445, allocations: 29.06 kB / 0.6271 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008683/0.4458, allocations: 0.9021 MB / 0.628 GB, free: 11.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4458, allocations: 0 / 0.628 GB, free: 11.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.4475, allocations: 405.4 kB / 0.6284 GB, free: 11.28 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.0008757/0.4484, allocations: 1.457 MB / 0.6298 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4499, allocations: 1.171 MB / 0.631 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.4499, allocations: 4 kB / 0.631 GB, free: 9.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.4502, allocations: 234.5 kB / 0.6312 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.4512, allocations: 205.2 kB / 0.6314 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.4689, allocations: 14.08 MB / 0.6451 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4706, allocations: 1.528 MB / 0.6466 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.472, allocations: 0.5776 MB / 0.6472 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.4728, allocations: 0.6125 MB / 0.6478 GB, free: 6.145 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4728, allocations: 0 / 0.6478 GB, free: 6.145 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/0.5222, allocations: 23.1 MB / 0.6703 GB, free: 15.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.2, allocations: 7.938 kB / 0.6703 GB, free: 15.18 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.772906975995284]