Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.0008886/0.0008886, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009391/0.0009391, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8631/0.8631, 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.2263/0.2263, allocations: 32.79 MB / 293.5 MB, free: 1.246 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.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.205e-05, allocations: 6.219 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1621/0.1622, allocations: 11.73 MB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.1689, allocations: 4.028 MB / 455.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.1709, allocations: 82.56 kB / 455.4 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.1734, allocations: 2.019 MB / 457.5 MB, free: 36.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.177, allocations: 1.995 MB / 459.5 MB, free: 35.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1781, allocations: 0.5954 MB / 460 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.1816, allocations: 4.424 MB / 464.5 MB, free: 34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.1841, allocations: 2.672 MB / 467.1 MB, free: 32.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.1867, allocations: 2.231 MB / 469.4 MB, free: 31.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.1891, allocations: 2.193 MB / 471.6 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005663/0.1896, allocations: 310.2 kB / 471.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.1911, allocations: 0.9841 MB / 472.9 MB, free: 31.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.1922, allocations: 1.968 MB / 474.8 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.1934, allocations: 1.217 MB / 476 MB, free: 29.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.1996, allocations: 7.279 MB / 483.3 MB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1996, allocations: 0 / 483.3 MB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1996, allocations: 0 / 483.3 MB, free: 27.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003026/0.1999, allocations: 4.844 kB / 483.3 MB, free: 27.13 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01221/0.2121, allocations: 4.941 MB / 488.3 MB, free: 24.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.2122, allocations: 9.875 kB / 488.3 MB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002065/0.2142, allocations: 0.8181 MB / 489.1 MB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/0.2222, allocations: 3.268 MB / 492.4 MB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.2275, allocations: 2.21 MB / 494.6 MB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.2277, allocations: 230.6 kB / 494.8 MB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.2291, allocations: 310 kB / 495.1 MB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.2477, allocations: 12.1 MB / 0.4953 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.2479, allocations: 36.69 kB / 0.4953 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.2489, allocations: 147.5 kB / 0.4955 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.252, allocations: 2.838 MB / 0.4983 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.2676, allocations: 11.35 MB / 0.5093 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/0.3139, allocations: 39.32 MB / 0.5477 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007597/0.3215, allocations: 5.013 MB / 0.5526 GB, free: 4.902 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.3244, allocations: 2.775 MB / 0.5553 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.3251, allocations: 0.5441 MB / 0.5559 GB, free: 1.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3251, allocations: 57.22 kB / 0.5559 GB, free: 1.512 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 6.682e-06/0.3251, allocations: 4 kB / 0.5559 GB, free: 1.508 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.03461/0.3597, allocations: 20.51 MB / 0.576 GB, free: 12.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3598, allocations: 77.41 kB / 0.576 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.3637, allocations: 3.374 MB / 0.5793 GB, free: 9.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/0.3642, allocations: 65.69 kB / 0.5794 GB, free: 9.332 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.3656, allocations: 3.093 MB / 0.5824 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009306/0.3665, allocations: 1.046 MB / 0.5834 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.3677, allocations: 1.191 MB / 0.5846 GB, free: 3.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.3678, allocations: 301.1 kB / 0.5849 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.371, allocations: 2.854 MB / 0.5877 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.3756, allocations: 6.029 MB / 0.5936 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/0.384, allocations: 9.665 MB / 0.603 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.906e-05/0.384, allocations: 32 kB / 0.603 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01363/0.3977, allocations: 10.05 MB / 0.6128 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.3977, allocations: 56 kB / 0.6129 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.3979, allocations: 112 kB / 0.613 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.4001, allocations: 1.353 MB / 0.6143 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.4033, allocations: 1.38 MB / 0.6157 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.4107, allocations: 7.639 MB / 0.6231 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.4139, allocations: 422.9 kB / 0.6235 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/0.4146, allocations: 344 kB / 0.6239 GB, free: 8.512 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005073/0.4196, allocations: 2.295 MB / 0.6261 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/0.4204, allocations: 321.8 kB / 0.6264 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1918/0.6122, allocations: 6.612 MB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.6122, allocations: 51.52 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6122, allocations: 5.844 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-05/0.6123, allocations: 10.08 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.6293, allocations: 13.42 MB / 0.646 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.6293, allocations: 6.625 kB / 0.646 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6305, allocations: 453.5 kB / 0.6465 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.6323, allocations: 1.214 MB / 0.6477 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.6326, allocations: 55.94 kB / 0.6477 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.6377, allocations: 6.841 MB / 0.6544 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6377, allocations: 16.56 kB / 0.6544 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6479, allocations: 9.847 MB / 0.664 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.6487, allocations: 324.6 kB / 0.6643 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.649, allocations: 52.03 kB / 0.6644 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.65, allocations: 235.5 kB / 0.6646 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.6504, allocations: 167 kB / 0.6648 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.6505, allocations: 73.19 kB / 0.6648 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002616/0.6531, allocations: 1.998 MB / 0.6668 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6531, allocations: 0 / 0.6668 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00356/0.6567, allocations: 1.174 MB / 0.6679 GB, free: 141.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/0.6679, allocations: 10.53 MB / 0.6782 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006738/0.6747, allocations: 6.698 MB / 0.6848 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.6747, allocations: 2.594 kB / 0.6848 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.677, allocations: 2.648 MB / 0.6873 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.679, allocations: 431.5 kB / 0.6878 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/0.7306, allocations: 49.46 MB / 0.7361 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.7331, allocations: 3.049 MB / 0.739 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002822/0.7359, allocations: 2.204 MB / 0.7412 GB, free: 78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/0.7379, allocations: 2.074 MB / 0.7432 GB, free: 75.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/0.7379, allocations: 0 / 0.7432 GB, free: 75.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07988/0.8178, allocations: 72.24 MB / 0.8138 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.65/10.47, allocations: 11.66 kB / 0.8138 GB, free: 4.312 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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: 12.618050023913383]