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.0009172/0.0009172, allocations: 79.7 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.0008647/0.0008647, allocations: 174 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.8849/0.8849, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2676/0.2676, allocations: 32.78 MB / 293.5 MB, free: 1.223 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.599e-05, allocations: 14.72 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1859/0.186, allocations: 11.73 MB / 451.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006631/0.1926, allocations: 4.027 MB / 455.4 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.1949, allocations: 84.81 kB / 455.4 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.1976, allocations: 2.012 MB / 457.4 MB, free: 36.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.2012, allocations: 1.993 MB / 459.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2023, allocations: 0.5987 MB / 460 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.2056, allocations: 4.43 MB / 464.5 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.2082, allocations: 2.673 MB / 467.1 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.2109, allocations: 2.227 MB / 469.4 MB, free: 31.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.2131, allocations: 2.195 MB / 471.6 MB, free: 31.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007032/0.2138, allocations: 309.4 kB / 471.9 MB, free: 31.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.2154, allocations: 0.9881 MB / 472.9 MB, free: 31.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.2167, allocations: 1.967 MB / 474.8 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.218, allocations: 1.215 MB / 476 MB, free: 29.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007399/0.2254, allocations: 7.278 MB / 483.3 MB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.2254, allocations: 1.031 kB / 483.3 MB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2254, allocations: 0 / 483.3 MB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003561/0.2258, allocations: 0 / 483.3 MB, free: 27.14 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.01427/0.24, allocations: 4.941 MB / 488.3 MB, free: 24.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.2401, allocations: 13.91 kB / 488.3 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/0.2417, allocations: 0.8138 MB / 489.1 MB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/0.2487, allocations: 3.267 MB / 492.4 MB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004569/0.2533, allocations: 2.207 MB / 494.6 MB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.2535, allocations: 239.4 kB / 494.8 MB, free: 22.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.2549, allocations: 300 kB / 495.1 MB, free: 22.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.2724, allocations: 12.12 MB / 0.4953 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.2725, allocations: 34.94 kB / 0.4953 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/0.2729, allocations: 141.9 kB / 0.4955 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.2757, allocations: 2.839 MB / 0.4983 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.2931, allocations: 11.34 MB / 0.5093 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04712/0.3402, allocations: 39.32 MB / 0.5477 GB, free: 9.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006551/0.3468, allocations: 5.017 MB / 0.5526 GB, free: 4.887 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.349, allocations: 2.771 MB / 0.5553 GB, free: 2.109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.3497, allocations: 0.5558 MB / 0.5559 GB, free: 1.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3498, allocations: 53.94 kB / 0.5559 GB, free: 1.492 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 4.529e-06/0.3498, allocations: 0 / 0.5559 GB, free: 1.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.02855/0.3783, allocations: 20.52 MB / 0.576 GB, free: 12.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3784, allocations: 77.41 kB / 0.576 GB, free: 12.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.3818, allocations: 3.374 MB / 0.5793 GB, free: 9.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.382, allocations: 65.7 kB / 0.5794 GB, free: 9.312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.3834, allocations: 3.089 MB / 0.5824 GB, free: 6.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.384, allocations: 1.046 MB / 0.5834 GB, free: 5.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.3854, allocations: 1.187 MB / 0.5846 GB, free: 3.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.3855, allocations: 301.1 kB / 0.5849 GB, free: 3.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.3884, allocations: 2.858 MB / 0.5877 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/0.3931, allocations: 6.03 MB / 0.5936 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/0.4013, allocations: 9.661 MB / 0.603 GB, free: 14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-05/0.4013, allocations: 32 kB / 0.603 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01058/0.4119, allocations: 10.04 MB / 0.6128 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.4119, allocations: 52 kB / 0.6129 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.253e-05/0.412, allocations: 112 kB / 0.613 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/0.414, allocations: 1.362 MB / 0.6143 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.4164, allocations: 1.384 MB / 0.6157 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.4234, allocations: 7.644 MB / 0.6231 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.4256, allocations: 423.6 kB / 0.6235 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/0.4259, allocations: 336 kB / 0.6239 GB, free: 8.496 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.0031/0.429, allocations: 2.295 MB / 0.6261 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.4294, allocations: 322.4 kB / 0.6264 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2065/0.6358, allocations: 6.614 MB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.151e-05/0.6359, allocations: 47.11 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6359, allocations: 5.875 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/0.636, allocations: 12.28 kB / 0.6329 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.6521, allocations: 13.41 MB / 0.646 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.6521, allocations: 7.188 kB / 0.646 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6533, allocations: 459.8 kB / 0.6465 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.6551, allocations: 1.21 MB / 0.6476 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.6553, allocations: 51.59 kB / 0.6477 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.6603, allocations: 6.845 MB / 0.6544 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.6603, allocations: 13.62 kB / 0.6544 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.6705, allocations: 9.852 MB / 0.664 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/0.6712, allocations: 316.6 kB / 0.6643 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.6717, allocations: 62 kB / 0.6644 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6728, allocations: 228.6 kB / 0.6646 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.6731, allocations: 174.1 kB / 0.6648 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.6733, allocations: 75.44 kB / 0.6648 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002476/0.6757, allocations: 1.999 MB / 0.6668 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.6757, allocations: 0 / 0.6668 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003842/0.6796, allocations: 1.17 MB / 0.6679 GB, free: 141.6 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.01114/0.6907, allocations: 10.53 MB / 0.6782 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007175/0.6979, allocations: 6.696 MB / 0.6848 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.6979, allocations: 4 kB / 0.6848 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.7006, allocations: 2.654 MB / 0.6873 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.7025, allocations: 427.7 kB / 0.6878 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05031/0.7529, allocations: 49.46 MB / 0.7361 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.7556, allocations: 3.042 MB / 0.739 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002853/0.7585, allocations: 2.208 MB / 0.7412 GB, free: 78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.7602, allocations: 2.074 MB / 0.7432 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/0.7602, allocations: 0 / 0.7432 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.8351, allocations: 72.25 MB / 0.8138 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.89, allocations: 7.969 kB / 0.8138 GB, free: 4.316 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/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: 13.081817728467286]