Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.001509/0.001509, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001556/0.001556, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2526/0.2526, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3926, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01328/0.4058, allocations: 10.45 MB / 0.5708 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009523/0.4154, allocations: 4.178 MB / 0.5749 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.4175, allocations: 87.56 kB / 0.575 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006322/0.4238, allocations: 2.694 MB / 0.5776 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.4302, allocations: 2.074 MB / 0.5796 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.4328, allocations: 1.006 MB / 0.5806 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00824/0.4411, allocations: 5.376 MB / 0.5859 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004647/0.4457, allocations: 2.873 MB / 0.5887 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.4489, allocations: 1.772 MB / 0.5904 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.4533, allocations: 2.515 MB / 0.5928 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.4546, allocations: 372 kB / 0.5932 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.4577, allocations: 1.299 MB / 0.5945 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003169/0.4609, allocations: 2.24 MB / 0.5967 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.4646, allocations: 1.911 MB / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4759, allocations: 8.261 MB / 0.6066 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4759, allocations: 0 / 0.6066 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4759, allocations: 0 / 0.6066 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003258/0.4762, allocations: 0 / 0.6066 GB, free: 4.91 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.01865/0.4949, allocations: 5.946 MB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4949, allocations: 8.031 kB / 0.6124 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002415/0.4973, allocations: 0.7946 MB / 0.6132 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08844/0.5858, allocations: 7.25 MB / 0.6203 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009574/0.5954, allocations: 3.549 MB / 0.6237 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.5957, allocations: 254.8 kB / 0.624 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.5972, allocations: 351.7 kB / 0.6243 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.6235, allocations: 12.38 MB / 0.6364 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.6236, allocations: 55.58 kB / 0.6365 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004858/0.6241, allocations: 167.8 kB / 0.6366 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/0.6283, allocations: 2.377 MB / 0.6389 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.6511, allocations: 10.68 MB / 0.6494 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06596/0.7171, allocations: 46.33 MB / 0.6946 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/0.7327, allocations: 5.177 MB / 0.6997 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.7368, allocations: 2.842 MB / 0.7024 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/0.7574, allocations: 11.29 MB / 0.7135 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.7574, allocations: 55.88 kB / 0.7135 GB, free: 5.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.571e-06/0.7575, allocations: 0 / 0.7135 GB, free: 5.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3931/1.151, allocations: 38.58 MB / 0.7512 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.151, allocations: 212.1 kB / 0.7514 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/1.156, allocations: 4.62 MB / 0.7559 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000543/1.156, allocations: 61.7 kB / 0.756 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.158, allocations: 3.553 MB / 0.7594 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.159, allocations: 1.003 MB / 0.7604 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/1.161, allocations: 1.374 MB / 0.7618 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.161, allocations: 305.1 kB / 0.762 GB, free: 143 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/1.164, allocations: 3.113 MB / 0.7651 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005316/1.17, allocations: 7.092 MB / 0.772 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.18, allocations: 10.96 MB / 0.7827 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/1.18, allocations: 40 kB / 0.7828 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02251/1.203, allocations: 12.64 MB / 0.7951 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/1.203, allocations: 68.25 kB / 0.7952 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.203, allocations: 140 kB / 0.7953 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008374/1.212, allocations: 3.239 MB / 0.7985 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005263/1.217, allocations: 1.533 MB / 0.8 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/1.237, allocations: 16.33 MB / 0.8159 GB, free: 84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/1.243, allocations: 434.4 kB / 0.8163 GB, free: 83.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.245, allocations: 411.9 kB / 0.8167 GB, free: 83.18 MB / 0.5606 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.004726/1.249, allocations: 2.337 MB / 0.819 GB, free: 80.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/1.25, allocations: 425.2 kB / 0.8194 GB, free: 80.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.264, allocations: 7.487 MB / 0.8267 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/1.264, allocations: 30.06 kB / 0.8267 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.264, allocations: 8 kB / 0.8267 GB, free: 72.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-05/1.264, allocations: 15.95 kB / 0.8268 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.289, allocations: 14.37 MB / 0.8408 GB, free: 58.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/1.29, allocations: 0 / 0.8408 GB, free: 58.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.292, allocations: 383.4 kB / 0.8412 GB, free: 58.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007926/1.299, allocations: 2.923 MB / 0.844 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005498/1.3, allocations: 43.94 kB / 0.8441 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/1.318, allocations: 14.56 MB / 0.8583 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.318, allocations: 4 kB / 0.8583 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.337, allocations: 11.47 MB / 0.8695 GB, free: 28.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.338, allocations: 389 kB / 0.8698 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.34, allocations: 40 kB / 0.8699 GB, free: 28.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.343, allocations: 193.2 kB / 0.8701 GB, free: 28.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/1.343, allocations: 157.6 kB / 0.8702 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000371/1.344, allocations: 67.58 kB / 0.8703 GB, free: 28.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004699/1.348, allocations: 2.742 MB / 0.873 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.348, allocations: 4 kB / 0.873 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00659/1.355, allocations: 1.297 MB / 0.8742 GB, free: 24.02 MB / 0.5606 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.02042/1.375, allocations: 12.14 MB / 0.8861 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.389, allocations: 7.528 MB / 0.8934 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.389, allocations: 0 / 0.8934 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.393, allocations: 2.885 MB / 0.8963 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.398, allocations: 0.5069 MB / 0.8967 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/1.52, allocations: 60.75 MB / 0.9561 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006785/1.527, allocations: 3.135 MB / 0.9591 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006462/1.533, allocations: 2.175 MB / 0.9613 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00428/1.537, allocations: 2.218 MB / 0.9634 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.537, allocations: 0 / 0.9634 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6425/2.18, allocations: 96.22 MB / 1.057 GB, free: 175 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/20.21, allocations: 10.64 kB / 1.057 GB, free: 175 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 24.201189185958356]