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.001746/0.001746, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.001934/0.001934, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.718/1.718, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2491/0.2491, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.00223/0.00223, allocations: 67.91 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.152, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01804/0.17, allocations: 13.51 MB / 0.5686 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1809, allocations: 4.236 MB / 0.5727 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.1837, allocations: 79.69 kB / 0.5728 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005563/0.1892, allocations: 1.993 MB / 0.5747 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.1956, allocations: 1.926 MB / 0.5766 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1978, allocations: 0.5497 MB / 0.5771 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00699/0.2048, allocations: 4.056 MB / 0.5811 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.2089, allocations: 2.476 MB / 0.5835 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.2119, allocations: 1.468 MB / 0.585 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.2159, allocations: 2.204 MB / 0.5871 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.2174, allocations: 304 kB / 0.5874 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.2207, allocations: 1.041 MB / 0.5884 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.2238, allocations: 1.893 MB / 0.5903 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3487/0.5726, allocations: 2.234 MB / 0.5924 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.5915, allocations: 7.32 MB / 0.5996 GB, free: 9.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5915, allocations: 0.625 kB / 0.5996 GB, free: 9.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5915, allocations: 0 / 0.5996 GB, free: 9.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004945/0.592, allocations: 0.5312 kB / 0.5996 GB, free: 9.742 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.02281/0.6148, allocations: 5.019 MB / 0.6045 GB, free: 7.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/0.6149, allocations: 10.12 kB / 0.6045 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004077/0.619, allocations: 0.8203 MB / 0.6053 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.6325, allocations: 3.176 MB / 0.6084 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007101/0.6396, allocations: 2.41 MB / 0.6108 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004707/0.64, allocations: 241.1 kB / 0.611 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.6425, allocations: 311.1 kB / 0.6113 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/0.6732, allocations: 12.08 MB / 0.6231 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/0.6735, allocations: 31.39 kB / 0.6231 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/0.6755, allocations: 145 kB / 0.6233 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005435/0.6809, allocations: 2.838 MB / 0.626 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/0.7086, allocations: 11.35 MB / 0.6371 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07849/0.7871, allocations: 41.12 MB / 0.6773 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.801, allocations: 5.836 MB / 0.683 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005109/0.8061, allocations: 2.748 MB / 0.6857 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.8084, allocations: 1.883 MB / 0.6875 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.408e-05/0.8085, allocations: 56.56 kB / 0.6875 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 8.226e-06/0.8085, allocations: 0 / 0.6875 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.0667/0.8752, allocations: 20.2 MB / 0.7073 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.8753, allocations: 77.41 kB / 0.7073 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007136/0.8825, allocations: 3.04 MB / 0.7103 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000947/0.8834, allocations: 65.7 kB / 0.7104 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/0.8869, allocations: 3.109 MB / 0.7134 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/0.8892, allocations: 1.059 MB / 0.7144 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004425/0.8936, allocations: 1.198 MB / 0.7156 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8937, allocations: 301.1 kB / 0.7159 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006751/0.9005, allocations: 2.85 MB / 0.7187 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/0.9112, allocations: 6.013 MB / 0.7246 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/0.9264, allocations: 9.661 MB / 0.734 GB, free: 3.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.9265, allocations: 39.94 kB / 0.734 GB, free: 3.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02381/0.9503, allocations: 10.01 MB / 0.7438 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.9505, allocations: 56.91 kB / 0.7439 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.9506, allocations: 116 kB / 0.744 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004584/0.9552, allocations: 1.359 MB / 0.7453 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/0.9613, allocations: 1.365 MB / 0.7466 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.9745, allocations: 7.82 MB / 0.7543 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005287/0.9798, allocations: 359.7 kB / 0.7546 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/0.9814, allocations: 344 kB / 0.7549 GB, free: 14.5 MB / 0.5762 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.007454/0.9889, allocations: 2.297 MB / 0.7572 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.99, allocations: 321.8 kB / 0.7575 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/1.009, allocations: 6.603 MB / 0.7639 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001288/1.009, allocations: 51.98 kB / 0.764 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.009, allocations: 7.938 kB / 0.764 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.883e-05/1.009, allocations: 15.89 kB / 0.764 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03735/1.046, allocations: 13.88 MB / 0.7776 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/1.047, allocations: 12.84 kB / 0.7776 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/1.049, allocations: 455.4 kB / 0.778 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004081/1.053, allocations: 1.212 MB / 0.7792 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/1.054, allocations: 54.17 kB / 0.7792 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/1.065, allocations: 7.02 MB / 0.7861 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/1.065, allocations: 15.97 kB / 0.7861 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.084, allocations: 9.875 MB / 0.7958 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.086, allocations: 363 kB / 0.7961 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.087, allocations: 51.94 kB / 0.7962 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.089, allocations: 195.7 kB / 0.7963 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009325/1.09, allocations: 157.6 kB / 0.7965 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/1.091, allocations: 82.72 kB / 0.7966 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004149/1.095, allocations: 1.871 MB / 0.7984 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/1.095, allocations: 0 / 0.7984 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006811/1.102, allocations: 1.105 MB / 0.7995 GB, free: 392 kB / 0.6075 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.02104/1.123, allocations: 10.54 MB / 0.8098 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.137, allocations: 6.68 MB / 0.8163 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.137, allocations: 0 / 0.8163 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006267/1.143, allocations: 2.65 MB / 0.8189 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/1.148, allocations: 421.9 kB / 0.8193 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3795/1.528, allocations: 48.97 MB / 0.8671 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007126/1.535, allocations: 3.579 MB / 0.8706 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006303/1.541, allocations: 2.195 MB / 0.8727 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005186/1.546, allocations: 2.068 MB / 0.8748 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.144e-06/1.546, allocations: 0 / 0.8748 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.663, allocations: 70.56 MB / 0.9437 GB, free: 130.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/24.84, allocations: 18.69 kB / 0.9437 GB, free: 130.7 MB / 0.6387 GB " [Timeout remaining time 635] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/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: 28.45568652500515]