Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007838/0.0007838, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007816/0.0007816, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9121/0.9121, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2519/0.2519, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/3.027e-05, allocations: 2.844 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2033/0.2033, allocations: 10.46 MB / 450 MB, free: 40.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.2096, allocations: 4.185 MB / 454.2 MB, free: 38.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.2114, allocations: 83.47 kB / 454.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.2148, allocations: 2.828 MB / 457.1 MB, free: 37.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.2197, allocations: 2.129 MB / 459.3 MB, free: 36.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2215, allocations: 1.114 MB / 460.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.227, allocations: 6.087 MB / 466.5 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/0.2312, allocations: 3.387 MB / 469.9 MB, free: 32.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.2358, allocations: 2.695 MB / 472.6 MB, free: 30.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.2395, allocations: 2.737 MB / 475.3 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.2404, allocations: 378.7 kB / 475.7 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2423, allocations: 1.364 MB / 477 MB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.2438, allocations: 2.345 MB / 479.4 MB, free: 28.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.246, allocations: 1.502 MB / 480.9 MB, free: 28.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.2565, allocations: 8.338 MB / 489.2 MB, free: 25.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2565, allocations: 0 / 489.2 MB, free: 25.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2565, allocations: 1.531 kB / 489.2 MB, free: 25.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003484/0.2569, allocations: 0 / 489.2 MB, free: 25.32 MB / 410.7 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.018/0.2749, allocations: 6.023 MB / 495.2 MB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.2749, allocations: 9.219 kB / 495.2 MB, free: 22.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00316/0.2781, allocations: 0.7973 MB / 496 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03933/0.3174, allocations: 7.52 MB / 0.4918 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.324, allocations: 3.225 MB / 0.4949 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.3242, allocations: 259.5 kB / 0.4952 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009841/0.3252, allocations: 351.3 kB / 0.4955 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.3423, allocations: 12.4 MB / 0.5076 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.3425, allocations: 55.53 kB / 0.5077 GB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.3429, allocations: 167.8 kB / 0.5078 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001985/0.3448, allocations: 2.377 MB / 0.5101 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.3606, allocations: 10.69 MB / 0.5206 GB, free: 6.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/0.4123, allocations: 46.68 MB / 0.5662 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.4227, allocations: 5.372 MB / 0.5714 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.4258, allocations: 2.84 MB / 0.5742 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.4401, allocations: 11.57 MB / 0.5855 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.4402, allocations: 51.88 kB / 0.5855 GB, free: 2.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 6.823e-06/0.4402, allocations: 0 / 0.5855 GB, free: 2.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.06815/0.5083, allocations: 39.79 MB / 0.6244 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.5084, allocations: 213.8 kB / 0.6246 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/0.5142, allocations: 4.949 MB / 0.6294 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008017/0.515, allocations: 69.69 kB / 0.6295 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.517, allocations: 3.532 MB / 0.6329 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.5183, allocations: 0.9767 MB / 0.6339 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2168/0.7351, allocations: 1.354 MB / 0.6352 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.7352, allocations: 304 kB / 0.6355 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/0.7383, allocations: 3.126 MB / 0.6386 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.7424, allocations: 7.104 MB / 0.6455 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/0.7506, allocations: 10.98 MB / 0.6562 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.7507, allocations: 38.91 kB / 0.6563 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01856/0.7693, allocations: 12.66 MB / 0.6686 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7694, allocations: 64.25 kB / 0.6687 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.7696, allocations: 136.8 kB / 0.6688 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005892/0.7755, allocations: 3.24 MB / 0.672 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.7796, allocations: 1.54 MB / 0.6735 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/0.7974, allocations: 16.38 MB / 0.6895 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/0.8031, allocations: 0.5079 MB / 0.69 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/0.8043, allocations: 408.4 kB / 0.6904 GB, free: 130.6 MB / 0.5261 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.004331/0.8086, allocations: 2.344 MB / 0.6927 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009444/0.8096, allocations: 426.2 kB / 0.6931 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/0.818, allocations: 7.484 MB / 0.7004 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.8181, allocations: 29.95 kB / 0.7004 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.8181, allocations: 16 kB / 0.7004 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.8181, allocations: 11.95 kB / 0.7004 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.8352, allocations: 14.48 MB / 0.7146 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.8352, allocations: 3.375 kB / 0.7146 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.8362, allocations: 375.5 kB / 0.7149 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/0.8408, allocations: 2.927 MB / 0.7178 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000593/0.8414, allocations: 43.94 kB / 0.7178 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.8533, allocations: 14.63 MB / 0.7321 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8533, allocations: 4 kB / 0.7321 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.8672, allocations: 11.47 MB / 0.7433 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.8683, allocations: 445 kB / 0.7437 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.8687, allocations: 43.98 kB / 0.7438 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.87, allocations: 264.4 kB / 0.744 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.8703, allocations: 157.7 kB / 0.7442 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.8705, allocations: 56 kB / 0.7442 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003957/0.8744, allocations: 3.016 MB / 0.7472 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.8744, allocations: 0 / 0.7472 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005572/0.88, allocations: 1.459 MB / 0.7486 GB, free: 78.19 MB / 0.5261 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.01112/0.8911, allocations: 12.15 MB / 0.7605 GB, free: 65.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008663/0.8998, allocations: 7.532 MB / 0.7678 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8998, allocations: 0 / 0.7678 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/0.9032, allocations: 2.878 MB / 0.7706 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.9063, allocations: 0.5192 MB / 0.7712 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08042/0.9867, allocations: 61.73 MB / 0.8314 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/0.9897, allocations: 3.143 MB / 0.8345 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003376/0.993, allocations: 2.186 MB / 0.8366 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/0.9952, allocations: 2.23 MB / 0.8388 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/0.9952, allocations: 0 / 0.8388 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/1.299, allocations: 98.75 MB / 0.9353 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.55, allocations: 8 kB / 0.9353 GB, free: 125.4 MB / 0.5573 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.080184544436634]