Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3343/0.3343, allocations: 44.23 MB / 326.5 MB, free: 7.219 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 75.89 kB / 462.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2636, allocations: 61 MB / 0.5109 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008944/0.2725, allocations: 12.08 MB / 0.5227 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007205/0.2797, allocations: 4.399 MB / 0.527 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.2812, allocations: 71.81 kB / 0.5271 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.2862, allocations: 2.799 MB / 0.5298 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.2913, allocations: 2.101 MB / 0.5319 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.2936, allocations: 1.006 MB / 0.5328 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007021/0.3006, allocations: 5.138 MB / 0.5379 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.3042, allocations: 2.947 MB / 0.5407 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.3068, allocations: 1.775 MB / 0.5425 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.3106, allocations: 2.656 MB / 0.5451 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008173/0.3114, allocations: 372 kB / 0.5454 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.3139, allocations: 1.451 MB / 0.5468 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.3162, allocations: 2.283 MB / 0.5491 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002825/0.319, allocations: 2.583 MB / 0.5516 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3298, allocations: 8.307 MB / 0.5597 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3298, allocations: 4 kB / 0.5597 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3298, allocations: 0 / 0.5597 GB, free: 12.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002228/0.33, allocations: 0 / 0.5597 GB, free: 12.85 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01453/0.3445, allocations: 6.057 MB / 0.5656 GB, free: 6.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3446, allocations: 15.89 kB / 0.5656 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00129/0.3459, allocations: 0.7985 MB / 0.5664 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07755/0.4234, allocations: 7.246 MB / 0.5735 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009906/0.4333, allocations: 4.14 MB / 0.5775 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.4336, allocations: 262.8 kB / 0.5778 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.4349, allocations: 351.7 kB / 0.5781 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/0.4613, allocations: 12.28 MB / 0.5901 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001813/0.4615, allocations: 59.56 kB / 0.5902 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005831/0.462, allocations: 163.8 kB / 0.5903 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/0.4659, allocations: 2.381 MB / 0.5926 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.4878, allocations: 10.71 MB / 0.6031 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3145/0.8023, allocations: 48.67 MB / 0.6506 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/0.8169, allocations: 5.639 MB / 0.6561 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/0.8206, allocations: 2.828 MB / 0.6589 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01738/0.8379, allocations: 13.05 MB / 0.6716 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.838, allocations: 60.19 kB / 0.6717 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 4.989e-06/0.838, allocations: 0 / 0.6717 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.09905/0.937, allocations: 39.02 MB / 0.7098 GB, free: 69.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.9371, allocations: 205.9 kB / 0.71 GB, free: 69.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005131/0.9422, allocations: 4.436 MB / 0.7143 GB, free: 65.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/0.9427, allocations: 65.45 kB / 0.7144 GB, free: 65.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.9441, allocations: 3.578 MB / 0.7179 GB, free: 61.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007282/0.9449, allocations: 0.9833 MB / 0.7189 GB, free: 60.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.9462, allocations: 1.377 MB / 0.7202 GB, free: 59.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.9463, allocations: 305.1 kB / 0.7205 GB, free: 59.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.9496, allocations: 3.117 MB / 0.7235 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004473/0.9541, allocations: 7.042 MB / 0.7304 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008947/0.9631, allocations: 10.96 MB / 0.7411 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.601e-05/0.9631, allocations: 40 kB / 0.7411 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02099/0.9841, allocations: 12.65 MB / 0.7535 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.9842, allocations: 60 kB / 0.7536 GB, free: 21.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.9843, allocations: 140 kB / 0.7537 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00775/0.9921, allocations: 3.244 MB / 0.7569 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/0.9967, allocations: 1.536 MB / 0.7584 GB, free: 16.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/1.016, allocations: 16.62 MB / 0.7746 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/1.021, allocations: 431.4 kB / 0.775 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.022, allocations: 408 kB / 0.7754 GB, free: 15.09 MB / 0.5137 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.004276/1.027, allocations: 2.352 MB / 0.7777 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009542/1.028, allocations: 425.9 kB / 0.7781 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.043, allocations: 7.492 MB / 0.7854 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/1.043, allocations: 28 kB / 0.7854 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.043, allocations: 12 kB / 0.7854 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/1.043, allocations: 11.95 kB / 0.7855 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.074, allocations: 15.01 MB / 0.8001 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.074, allocations: 0 / 0.8001 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/1.076, allocations: 383.4 kB / 0.8005 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008622/1.085, allocations: 2.926 MB / 0.8033 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004914/1.085, allocations: 44 kB / 0.8034 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02256/1.108, allocations: 14.84 MB / 0.8179 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.108, allocations: 4 kB / 0.8179 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/1.13, allocations: 11.48 MB / 0.8291 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003572/1.133, allocations: 0.9431 MB / 0.83 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009614/1.134, allocations: 44 kB / 0.83 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/1.137, allocations: 187.7 kB / 0.8302 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/1.137, allocations: 145.8 kB / 0.8304 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.138, allocations: 64 kB / 0.8304 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004851/1.142, allocations: 2.771 MB / 0.8331 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.142, allocations: 0 / 0.8331 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006006/1.148, allocations: 1.316 MB / 0.8344 GB, free: 2.312 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.02131/1.17, allocations: 12.15 MB / 0.8463 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.183, allocations: 7.522 MB / 0.8536 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.183, allocations: 4 kB / 0.8536 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005208/1.189, allocations: 2.879 MB / 0.8564 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.192, allocations: 0.5204 MB / 0.857 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3481/1.54, allocations: 60.85 MB / 0.9164 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/1.543, allocations: 3.674 MB / 0.92 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00412/1.547, allocations: 2.182 MB / 0.9221 GB, free: 180 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/1.55, allocations: 2.221 MB / 0.9243 GB, free: 177.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.254e-06/1.55, allocations: 0 / 0.9243 GB, free: 177.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/1.679, allocations: 95.29 MB / 1.017 GB, free: 82.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.8/31.48, allocations: 4 kB / 1.017 GB, free: 82.57 MB / 0.6075 GB " [Timeout remaining time 628] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 35.15142978122458]