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.001646/0.001646, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002015/0.002015, allocations: 212.8 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2302/0.2302, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.88 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4027, allocations: 65.46 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01818/0.4209, allocations: 13.54 MB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4322, allocations: 4.25 MB / 0.5744 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.4349, allocations: 79.69 kB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.4393, allocations: 2.005 MB / 0.5764 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.445, allocations: 1.95 MB / 0.5783 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.4467, allocations: 0.5537 MB / 0.5789 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.453, allocations: 4.042 MB / 0.5828 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.4564, allocations: 2.424 MB / 0.5852 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.4593, allocations: 1.475 MB / 0.5866 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003746/0.4631, allocations: 2.204 MB / 0.5888 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006899/0.4637, allocations: 308 kB / 0.5891 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.4661, allocations: 1.041 MB / 0.5901 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.4684, allocations: 1.893 MB / 0.5919 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003033/0.4714, allocations: 2.24 MB / 0.5941 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009881/0.4813, allocations: 7.329 MB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4813, allocations: 0 / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4813, allocations: 0 / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.4815, allocations: 7.938 kB / 0.6013 GB, free: 10.24 MB / 446.1 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.01205/0.4936, allocations: 4.941 MB / 0.6061 GB, free: 5.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4936, allocations: 8.031 kB / 0.6061 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.495, allocations: 0.8157 MB / 0.6069 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.5063, allocations: 3.176 MB / 0.61 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.5126, allocations: 2.343 MB / 0.6123 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.5128, allocations: 234.2 kB / 0.6125 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.514, allocations: 311.7 kB / 0.6128 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.5373, allocations: 12.08 MB / 0.6246 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.5374, allocations: 35.7 kB / 0.6247 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/0.5379, allocations: 151.8 kB / 0.6248 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005016/0.5429, allocations: 2.839 MB / 0.6276 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.5675, allocations: 11.36 MB / 0.6387 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06763/0.6351, allocations: 40.96 MB / 0.6787 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.6468, allocations: 4.918 MB / 0.6835 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004588/0.6514, allocations: 2.769 MB / 0.6862 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.6527, allocations: 0.5634 MB / 0.6867 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.663e-05/0.6528, allocations: 61.12 kB / 0.6868 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.861e-06/0.6528, allocations: 0 / 0.6868 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.053/0.7058, allocations: 19.98 MB / 0.7063 GB, free: 12.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.7059, allocations: 81.34 kB / 0.7064 GB, free: 12.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/0.7108, allocations: 3.036 MB / 0.7093 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006703/0.7115, allocations: 65.7 kB / 0.7094 GB, free: 9.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002652/0.7142, allocations: 3.104 MB / 0.7124 GB, free: 6.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/0.716, allocations: 1.073 MB / 0.7135 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/0.7183, allocations: 1.195 MB / 0.7146 GB, free: 4.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7185, allocations: 301.1 kB / 0.7149 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004972/0.7234, allocations: 2.846 MB / 0.7177 GB, free: 1.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009244/0.7327, allocations: 6.026 MB / 0.7236 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2979/1.031, allocations: 9.659 MB / 0.733 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.031, allocations: 32.53 kB / 0.7331 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01764/1.048, allocations: 10.03 MB / 0.7429 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/1.048, allocations: 50.91 kB / 0.7429 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.049, allocations: 108.8 kB / 0.743 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/1.052, allocations: 1.363 MB / 0.7443 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.056, allocations: 1.365 MB / 0.7457 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/1.065, allocations: 7.702 MB / 0.7532 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/1.069, allocations: 367.2 kB / 0.7535 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.07, allocations: 348.4 kB / 0.7539 GB, free: 144.6 MB / 0.5606 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.003608/1.074, allocations: 2.293 MB / 0.7561 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/1.074, allocations: 321.8 kB / 0.7564 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009234/1.084, allocations: 6.615 MB / 0.7629 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/1.084, allocations: 47.94 kB / 0.7629 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.084, allocations: 4 kB / 0.7629 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.084, allocations: 11.95 kB / 0.7629 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.106, allocations: 13.85 MB / 0.7765 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/1.106, allocations: 4 kB / 0.7765 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.108, allocations: 461.5 kB / 0.7769 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/1.111, allocations: 1.21 MB / 0.7781 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005964/1.112, allocations: 55.94 kB / 0.7781 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.124, allocations: 6.913 MB / 0.7849 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.124, allocations: 11.94 kB / 0.7849 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.14, allocations: 9.874 MB / 0.7946 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007956/1.141, allocations: 285.9 kB / 0.7948 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008409/1.142, allocations: 47.98 kB / 0.7949 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.144, allocations: 199.7 kB / 0.7951 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004684/1.144, allocations: 173.5 kB / 0.7952 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.144, allocations: 72 kB / 0.7953 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002383/1.147, allocations: 1.878 MB / 0.7971 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.147, allocations: 2.25 kB / 0.7971 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004185/1.151, allocations: 1.105 MB / 0.7982 GB, free: 100.7 MB / 0.5606 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.01163/1.163, allocations: 10.52 MB / 0.8085 GB, free: 89.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008776/1.171, allocations: 6.685 MB / 0.815 GB, free: 83.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.171, allocations: 0.875 kB / 0.815 GB, free: 83.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/1.175, allocations: 2.654 MB / 0.8176 GB, free: 80.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.177, allocations: 422.2 kB / 0.818 GB, free: 80.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06632/1.243, allocations: 49.1 MB / 0.866 GB, free: 26.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/1.248, allocations: 3.578 MB / 0.8695 GB, free: 22.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004341/1.252, allocations: 2.2 MB / 0.8716 GB, free: 20.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/1.255, allocations: 2.069 MB / 0.8736 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/1.255, allocations: 0 / 0.8736 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.394, allocations: 75.64 MB / 0.9475 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.87/26.27, allocations: 8 kB / 0.9475 GB, free: 7.035 MB / 0.6231 GB " [Timeout remaining time 634] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/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: 29.558949256999767]