Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00109/0.00109, 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.0008412/0.0008412, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9057/0.9057, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2504/0.2504, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.396e-05, allocations: 8.469 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1746/0.1746, allocations: 11.72 MB / 453.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.1785, allocations: 4.036 MB / 457.9 MB, free: 35.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.1791, allocations: 80.78 kB / 458 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.1808, allocations: 2.01 MB / 460 MB, free: 34.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.1827, allocations: 1.991 MB / 462 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.1834, allocations: 0.5993 MB / 462.6 MB, free: 33.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.1859, allocations: 4.423 MB / 467 MB, free: 31.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.1875, allocations: 2.676 MB / 469.7 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.189, allocations: 2.226 MB / 472 MB, free: 29.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1904, allocations: 2.201 MB / 474.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.1907, allocations: 309.8 kB / 474.5 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.1916, allocations: 0.9783 MB / 475.4 MB, free: 28.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007346/0.1924, allocations: 1.971 MB / 477.4 MB, free: 27.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.193, allocations: 1.215 MB / 478.6 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.1974, allocations: 7.281 MB / 485.9 MB, free: 24.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1974, allocations: 0.6094 kB / 485.9 MB, free: 24.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1974, allocations: 0 / 485.9 MB, free: 24.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.538e-05/0.1975, allocations: 1.094 kB / 485.9 MB, free: 24.6 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.006188/0.2037, allocations: 4.94 MB / 490.8 MB, free: 21.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2037, allocations: 14.11 kB / 490.9 MB, free: 21.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00083/0.2046, allocations: 0.8218 MB / 491.7 MB, free: 21.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.2112, allocations: 3.264 MB / 494.9 MB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.2139, allocations: 2.205 MB / 497.1 MB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.214, allocations: 235.8 kB / 497.4 MB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004362/0.2144, allocations: 303.3 kB / 497.7 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.2252, allocations: 12.11 MB / 0.4978 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.2253, allocations: 35.69 kB / 0.4979 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.2256, allocations: 151.2 kB / 0.498 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002243/0.2279, allocations: 2.835 MB / 0.5008 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.2414, allocations: 11.34 MB / 0.5119 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.2738, allocations: 39.31 MB / 0.5503 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/0.2802, allocations: 5.018 MB / 0.5552 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.2824, allocations: 2.777 MB / 0.5579 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/0.283, allocations: 0.5519 MB / 0.5584 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.283, allocations: 52.56 kB / 0.5585 GB, free: 13.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 4.178e-06/0.2831, allocations: 0 / 0.5585 GB, free: 13.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.0279/0.3109, allocations: 20.52 MB / 0.5785 GB, free: 9.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.311, allocations: 77.41 kB / 0.5786 GB, free: 8.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.3141, allocations: 3.378 MB / 0.5819 GB, free: 5.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.3142, allocations: 65.64 kB / 0.5819 GB, free: 5.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.3154, allocations: 3.085 MB / 0.5849 GB, free: 2.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.316, allocations: 1.054 MB / 0.586 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.3173, allocations: 1.184 MB / 0.5871 GB, free: 92 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.3174, allocations: 301.1 kB / 0.5874 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.32, allocations: 2.854 MB / 0.5902 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/0.324, allocations: 6.033 MB / 0.5961 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007643/0.3317, allocations: 9.669 MB / 0.6055 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.3317, allocations: 39.92 kB / 0.6056 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01019/0.3419, allocations: 10.04 MB / 0.6154 GB, free: 52 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.3419, allocations: 52 kB / 0.6154 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-05/0.342, allocations: 112 kB / 0.6155 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.344, allocations: 1.362 MB / 0.6169 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.3463, allocations: 1.376 MB / 0.6182 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/0.3531, allocations: 7.634 MB / 0.6257 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.3555, allocations: 419.6 kB / 0.6261 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.3559, allocations: 344 kB / 0.6264 GB, free: 4.648 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.003682/0.3596, allocations: 2.295 MB / 0.6286 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/0.36, allocations: 321.8 kB / 0.6289 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2099/0.5699, allocations: 6.604 MB / 0.6354 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/0.5699, allocations: 53.39 kB / 0.6354 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5699, allocations: 2.875 kB / 0.6354 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5699, allocations: 16.2 kB / 0.6354 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.5838, allocations: 13.42 MB / 0.6486 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5838, allocations: 6.281 kB / 0.6486 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.5849, allocations: 449.3 kB / 0.649 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.5866, allocations: 1.215 MB / 0.6502 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.5867, allocations: 57.22 kB / 0.6502 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.5917, allocations: 6.838 MB / 0.6569 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5917, allocations: 7.562 kB / 0.6569 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009463/0.6012, allocations: 9.865 MB / 0.6666 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.6018, allocations: 312.9 kB / 0.6669 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.6021, allocations: 57.36 kB / 0.6669 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6031, allocations: 229 kB / 0.6671 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.6034, allocations: 170.7 kB / 0.6673 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6035, allocations: 77.75 kB / 0.6674 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002415/0.6059, allocations: 1.999 MB / 0.6693 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6059, allocations: 0.9688 kB / 0.6693 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003264/0.6092, allocations: 1.165 MB / 0.6705 GB, free: 139 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.009518/0.6187, allocations: 10.54 MB / 0.6807 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00564/0.6244, allocations: 6.685 MB / 0.6873 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6244, allocations: 0 / 0.6873 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.6264, allocations: 2.66 MB / 0.6899 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.6278, allocations: 424.7 kB / 0.6903 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/0.6645, allocations: 49.45 MB / 0.7386 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.6666, allocations: 3.053 MB / 0.7416 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002404/0.669, allocations: 2.21 MB / 0.7437 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.6704, allocations: 2.07 MB / 0.7457 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/0.6704, allocations: 0 / 0.7457 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/0.7402, allocations: 72.24 MB / 0.8163 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/9.857, allocations: 14.59 kB / 0.8163 GB, free: 14.22 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.081774123944342]