Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.0009455/0.0009455, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009007/0.0009007, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.879/0.879, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2403/0.2403, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.626e-05, allocations: 2.281 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1553/0.1553, allocations: 11.74 MB / 453.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.159, allocations: 4.031 MB / 457.9 MB, free: 35.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.1596, allocations: 79.78 kB / 458 MB, free: 35.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.1611, allocations: 2.01 MB / 460 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.1627, allocations: 1.997 MB / 462 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.1632, allocations: 0.5935 MB / 462.6 MB, free: 33.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.165, allocations: 4.425 MB / 467 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1662, allocations: 2.671 MB / 469.7 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1673, allocations: 2.227 MB / 471.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1686, allocations: 2.202 MB / 474.1 MB, free: 28.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.1688, allocations: 309.1 kB / 474.4 MB, free: 28.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.1697, allocations: 0.9801 MB / 475.4 MB, free: 28.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008688/0.1706, allocations: 1.968 MB / 477.4 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006544/0.1712, allocations: 1.211 MB / 478.6 MB, free: 27.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.1771, allocations: 7.29 MB / 485.9 MB, free: 24.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1771, allocations: 0 / 485.9 MB, free: 24.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1771, allocations: 1.906 kB / 485.9 MB, free: 24.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.1772, allocations: 0.5625 kB / 485.9 MB, free: 24.55 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.007714/0.1849, allocations: 4.936 MB / 490.8 MB, free: 21.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1849, allocations: 9.672 kB / 490.8 MB, free: 21.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008331/0.1858, allocations: 0.818 MB / 491.7 MB, free: 21.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007155/0.1929, allocations: 3.267 MB / 494.9 MB, free: 20.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.196, allocations: 2.211 MB / 497.1 MB, free: 19.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.1961, allocations: 239.1 kB / 497.4 MB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.1966, allocations: 307.8 kB / 497.7 MB, free: 19.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.2077, allocations: 12.1 MB / 0.4978 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.2078, allocations: 35.69 kB / 0.4979 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.2081, allocations: 147.8 kB / 0.498 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.2102, allocations: 2.831 MB / 0.5008 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.2211, allocations: 11.35 MB / 0.5118 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/0.2556, allocations: 39.31 MB / 0.5502 GB, free: 5.934 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006449/0.262, allocations: 5.016 MB / 0.5551 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.2646, allocations: 2.767 MB / 0.5578 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/0.2653, allocations: 0.5597 MB / 0.5584 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2653, allocations: 52.56 kB / 0.5584 GB, free: 13.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 4.148e-06/0.2653, allocations: 0 / 0.5584 GB, free: 13.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.02872/0.2941, allocations: 20.51 MB / 0.5785 GB, free: 8.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2941, allocations: 81.41 kB / 0.5785 GB, free: 8.805 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.2974, allocations: 3.381 MB / 0.5818 GB, free: 5.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.2975, allocations: 61.7 kB / 0.5819 GB, free: 5.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.299, allocations: 3.085 MB / 0.5849 GB, free: 2.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/0.2996, allocations: 1.05 MB / 0.5859 GB, free: 1.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3007, allocations: 1.18 MB / 0.5871 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.3008, allocations: 305.1 kB / 0.5874 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.3034, allocations: 2.858 MB / 0.5902 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/0.3077, allocations: 6.029 MB / 0.5961 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007309/0.315, allocations: 9.673 MB / 0.6055 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.3151, allocations: 32 kB / 0.6055 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01058/0.3256, allocations: 10.04 MB / 0.6153 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.3257, allocations: 52 kB / 0.6154 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/0.3258, allocations: 115.9 kB / 0.6155 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.328, allocations: 1.358 MB / 0.6168 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.3304, allocations: 1.38 MB / 0.6182 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/0.3371, allocations: 7.634 MB / 0.6256 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.3396, allocations: 419.6 kB / 0.626 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.3399, allocations: 351.9 kB / 0.6264 GB, free: 4.516 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.003027/0.343, allocations: 2.295 MB / 0.6286 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.3434, allocations: 321.8 kB / 0.6289 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2054/0.5487, allocations: 6.606 MB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.5488, allocations: 52.92 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5488, allocations: 2.594 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5488, allocations: 9.844 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.5612, allocations: 13.41 MB / 0.6485 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.5612, allocations: 6.406 kB / 0.6485 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5622, allocations: 458 kB / 0.649 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.5639, allocations: 1.207 MB / 0.6501 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.564, allocations: 56.92 kB / 0.6502 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.5689, allocations: 6.843 MB / 0.6569 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5689, allocations: 13 kB / 0.6569 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009167/0.5781, allocations: 9.859 MB / 0.6665 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.5786, allocations: 316.4 kB / 0.6668 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.5788, allocations: 54.95 kB / 0.6669 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5799, allocations: 229.8 kB / 0.6671 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.5802, allocations: 171.1 kB / 0.6673 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.5803, allocations: 80.73 kB / 0.6673 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00224/0.5826, allocations: 2 MB / 0.6693 GB, free: 139 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5826, allocations: 0 / 0.6693 GB, free: 139 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003114/0.5857, allocations: 1.168 MB / 0.6704 GB, free: 138.9 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.009232/0.5949, allocations: 10.54 MB / 0.6807 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005542/0.6005, allocations: 6.692 MB / 0.6873 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.6005, allocations: 0 / 0.6873 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.6025, allocations: 2.66 MB / 0.6899 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.6038, allocations: 430.5 kB / 0.6903 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/0.6414, allocations: 49.45 MB / 0.7386 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.6433, allocations: 3.054 MB / 0.7415 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002384/0.6457, allocations: 2.211 MB / 0.7437 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.6472, allocations: 2.066 MB / 0.7457 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.6472, allocations: 4 kB / 0.7457 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/0.7153, allocations: 72.22 MB / 0.8162 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.624/10.34, allocations: 14.81 kB / 0.8163 GB, free: 13.91 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.514519109390676]