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.0007776/0.0007776, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0007904/0.0007904, 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.9058/0.9058, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2691/0.2691, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.883e-06/1.883e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.918e-05, allocations: 3.125 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1845/0.1846, allocations: 11.73 MB / 453.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006244/0.1908, allocations: 4.035 MB / 457.9 MB, free: 35.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1918, allocations: 80.94 kB / 458 MB, free: 35.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.1936, allocations: 2.01 MB / 460 MB, free: 34.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1958, allocations: 2.001 MB / 462 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.1965, allocations: 0.5922 MB / 462.6 MB, free: 33.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.1985, allocations: 4.418 MB / 467 MB, free: 31.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.1998, allocations: 2.674 MB / 469.7 MB, free: 30.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.201, allocations: 2.235 MB / 472 MB, free: 29.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.2023, allocations: 2.195 MB / 474.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.2025, allocations: 310.6 kB / 474.5 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008693/0.2034, allocations: 0.9845 MB / 475.4 MB, free: 28.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000753/0.2042, allocations: 1.962 MB / 477.4 MB, free: 27.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.2049, allocations: 1.213 MB / 478.6 MB, free: 27.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005527/0.2104, allocations: 7.285 MB / 485.9 MB, free: 24.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2104, allocations: 3.938 kB / 485.9 MB, free: 24.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2104, allocations: 0 / 485.9 MB, free: 24.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.749e-05/0.2105, allocations: 1.25 kB / 485.9 MB, free: 24.59 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.007195/0.2177, allocations: 4.937 MB / 490.8 MB, free: 21.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.2177, allocations: 13.72 kB / 490.9 MB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/0.2187, allocations: 0.8184 MB / 491.7 MB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007414/0.2262, allocations: 3.266 MB / 494.9 MB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.2294, allocations: 2.211 MB / 497.2 MB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.2295, allocations: 232.1 kB / 497.4 MB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/0.23, allocations: 309.4 kB / 497.7 MB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.2418, allocations: 12.1 MB / 0.4978 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.2419, allocations: 39.73 kB / 0.4979 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/0.2422, allocations: 151.2 kB / 0.498 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/0.2445, allocations: 2.835 MB / 0.5008 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.2548, allocations: 11.34 MB / 0.5119 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.2879, allocations: 39.31 MB / 0.5503 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/0.2941, allocations: 5.016 MB / 0.5552 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.2963, allocations: 2.773 MB / 0.5579 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.2969, allocations: 0.5519 MB / 0.5584 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2969, allocations: 64.48 kB / 0.5585 GB, free: 13.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 4.439e-06/0.2969, allocations: 0 / 0.5585 GB, free: 13.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.02889/0.3258, allocations: 20.51 MB / 0.5785 GB, free: 8.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3259, allocations: 77.41 kB / 0.5786 GB, free: 8.895 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.3291, allocations: 3.374 MB / 0.5819 GB, free: 5.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003054/0.3294, allocations: 61.7 kB / 0.5819 GB, free: 5.434 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.3306, allocations: 3.092 MB / 0.5849 GB, free: 2.312 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/0.3312, allocations: 1.054 MB / 0.586 GB, free: 1.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.3324, allocations: 1.184 MB / 0.5871 GB, free: 56 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.3325, allocations: 305.1 kB / 0.5874 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.3352, allocations: 2.85 MB / 0.5902 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/0.3392, allocations: 6.033 MB / 0.5961 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007138/0.3463, allocations: 9.669 MB / 0.6055 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/0.3463, allocations: 32 kB / 0.6056 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01075/0.3571, allocations: 10.04 MB / 0.6154 GB, free: 16 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.3571, allocations: 52.05 kB / 0.6154 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.205e-05/0.3572, allocations: 112 kB / 0.6155 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/0.3592, allocations: 1.358 MB / 0.6169 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.3618, allocations: 1.38 MB / 0.6182 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.3686, allocations: 7.627 MB / 0.6256 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.3714, allocations: 419.6 kB / 0.626 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/0.3718, allocations: 340 kB / 0.6264 GB, free: 4.625 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.003782/0.3755, allocations: 2.302 MB / 0.6286 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.376, allocations: 321.8 kB / 0.6289 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2046/0.5805, allocations: 6.614 MB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.5806, allocations: 50.73 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5806, allocations: 5.953 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5806, allocations: 9.844 kB / 0.6354 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.5944, allocations: 13.42 MB / 0.6486 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.5944, allocations: 6.625 kB / 0.6486 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5955, allocations: 452.2 kB / 0.649 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.5972, allocations: 1.21 MB / 0.6502 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.5973, allocations: 59.92 kB / 0.6502 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/0.6021, allocations: 6.842 MB / 0.6569 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6021, allocations: 6.219 kB / 0.6569 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009282/0.6114, allocations: 9.856 MB / 0.6665 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/0.612, allocations: 317.2 kB / 0.6668 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.6123, allocations: 58.09 kB / 0.6669 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.6133, allocations: 230.5 kB / 0.6671 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/0.6137, allocations: 170.2 kB / 0.6673 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6138, allocations: 76.94 kB / 0.6674 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002523/0.6164, allocations: 1.998 MB / 0.6693 GB, free: 139 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6164, allocations: 0 / 0.6693 GB, free: 139 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003575/0.6199, allocations: 1.169 MB / 0.6705 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.009897/0.6298, allocations: 10.54 MB / 0.6807 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006498/0.6363, allocations: 6.685 MB / 0.6873 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.6363, allocations: 0 / 0.6873 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.6386, allocations: 2.656 MB / 0.6899 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6405, allocations: 420 kB / 0.6903 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04065/0.6811, allocations: 49.46 MB / 0.7386 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.6833, allocations: 3.051 MB / 0.7416 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002579/0.6859, allocations: 2.21 MB / 0.7437 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/0.6875, allocations: 2.074 MB / 0.7457 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/0.6875, allocations: 4 kB / 0.7457 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06622/0.7537, allocations: 72.24 MB / 0.8163 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.556/10.31, allocations: 11.98 kB / 0.8163 GB, free: 14.14 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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.493155953474343]