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.001805/0.001805, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002236/0.002236, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2391/0.2391, allocations: 46.97 MB / 360.9 MB, free: 4.012 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.003468/0.003468, allocations: 71.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4391, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01654/0.4557, allocations: 11.73 MB / 0.5721 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.4661, allocations: 4.021 MB / 0.576 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.4687, allocations: 79.69 kB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.4731, allocations: 1.923 MB / 0.5779 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005965/0.479, allocations: 1.95 MB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4809, allocations: 0.5614 MB / 0.5804 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006805/0.4877, allocations: 4.042 MB / 0.5843 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.4916, allocations: 2.416 MB / 0.5867 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.4948, allocations: 1.472 MB / 0.5881 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.4988, allocations: 2.09 MB / 0.5902 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009575/0.4997, allocations: 304 kB / 0.5905 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.5024, allocations: 0.9088 MB / 0.5913 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.5048, allocations: 1.908 MB / 0.5932 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.5074, allocations: 1.607 MB / 0.5948 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.5188, allocations: 7.356 MB / 0.602 GB, free: 9.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5188, allocations: 0 / 0.602 GB, free: 9.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5188, allocations: 0 / 0.602 GB, free: 9.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.519, allocations: 0 / 0.602 GB, free: 9.625 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.01306/0.5321, allocations: 4.949 MB / 0.6068 GB, free: 4.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5322, allocations: 8.031 kB / 0.6068 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001604/0.5338, allocations: 0.8118 MB / 0.6076 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.5456, allocations: 3.176 MB / 0.6107 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006835/0.5524, allocations: 2.363 MB / 0.613 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.5527, allocations: 242.2 kB / 0.6132 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008963/0.5536, allocations: 311.7 kB / 0.6135 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.5759, allocations: 12.08 MB / 0.6253 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.576, allocations: 31.7 kB / 0.6254 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005385/0.5766, allocations: 143.8 kB / 0.6255 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005262/0.5818, allocations: 2.831 MB / 0.6283 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.6065, allocations: 11.32 MB / 0.6393 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06549/0.672, allocations: 39.08 MB / 0.6775 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.6837, allocations: 4.899 MB / 0.6823 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.6881, allocations: 2.763 MB / 0.685 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.6894, allocations: 0.5517 MB / 0.6855 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.6895, allocations: 56.56 kB / 0.6856 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.921e-06/0.6895, allocations: 0 / 0.6856 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.06058/0.7501, allocations: 20.04 MB / 0.7051 GB, free: 14.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.7501, allocations: 81.41 kB / 0.7052 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/0.7552, allocations: 3.218 MB / 0.7084 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006391/0.7559, allocations: 61.7 kB / 0.7084 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/0.7587, allocations: 3.108 MB / 0.7114 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/0.7606, allocations: 1.062 MB / 0.7125 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/0.7627, allocations: 1.199 MB / 0.7137 GB, free: 5.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7629, allocations: 301.1 kB / 0.7139 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/0.7675, allocations: 2.85 MB / 0.7167 GB, free: 2.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008587/0.7761, allocations: 6.018 MB / 0.7226 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3314/1.108, allocations: 9.658 MB / 0.732 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/1.108, allocations: 32.25 kB / 0.7321 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01882/1.127, allocations: 10.03 MB / 0.7419 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.316e-05/1.127, allocations: 57.34 kB / 0.7419 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/1.127, allocations: 110.2 kB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/1.13, allocations: 1.366 MB / 0.7434 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/1.135, allocations: 1.367 MB / 0.7447 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/1.143, allocations: 7.622 MB / 0.7521 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/1.148, allocations: 364.6 kB / 0.7525 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.149, allocations: 343.4 kB / 0.7528 GB, free: 142.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.004062/1.153, allocations: 2.301 MB / 0.7551 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/1.154, allocations: 322.9 kB / 0.7554 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/1.163, allocations: 6.608 MB / 0.7618 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.22e-05/1.163, allocations: 55.92 kB / 0.7619 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.163, allocations: 7.938 kB / 0.7619 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.163, allocations: 11.95 kB / 0.7619 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/1.182, allocations: 13.34 MB / 0.7749 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.182, allocations: 8 kB / 0.7749 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.184, allocations: 453.3 kB / 0.7754 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.187, allocations: 1.215 MB / 0.7765 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/1.187, allocations: 55.92 kB / 0.7766 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006879/1.194, allocations: 6.848 MB / 0.7833 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.194, allocations: 12 kB / 0.7833 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.206, allocations: 9.863 MB / 0.7929 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/1.207, allocations: 297.1 kB / 0.7932 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/1.208, allocations: 52 kB / 0.7933 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.209, allocations: 199.2 kB / 0.7934 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/1.21, allocations: 165.6 kB / 0.7936 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.21, allocations: 75.98 kB / 0.7937 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0023/1.212, allocations: 1.874 MB / 0.7955 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.212, allocations: 0 / 0.7955 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004381/1.217, allocations: 1.102 MB / 0.7966 GB, free: 98.96 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.01188/1.229, allocations: 10.54 MB / 0.8069 GB, free: 88.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008226/1.237, allocations: 6.675 MB / 0.8134 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.237, allocations: 0 / 0.8134 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003185/1.24, allocations: 2.657 MB / 0.816 GB, free: 78.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.242, allocations: 424.5 kB / 0.8164 GB, free: 78.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06051/1.303, allocations: 49.08 MB / 0.8643 GB, free: 24.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.306, allocations: 3.049 MB / 0.8673 GB, free: 21.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004099/1.31, allocations: 2.196 MB / 0.8695 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/1.312, allocations: 2.065 MB / 0.8715 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.312, allocations: 0 / 0.8715 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/1.447, allocations: 70.78 MB / 0.9406 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.65, allocations: 3.094 kB / 0.9406 GB, free: 10.99 MB / 0.6231 GB " [Timeout remaining time 642] (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: 20.885759416036308]