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.001292/0.001292, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00157/0.00157, allocations: 208 kB / 23.73 MB, free: 4.523 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.614/1.614, 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.2245/0.2245, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.001984/0.001984, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01585/0.3879, allocations: 11.71 MB / 0.572 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3981, allocations: 4.032 MB / 0.576 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.4006, allocations: 79.69 kB / 0.5761 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.4053, allocations: 1.927 MB / 0.5779 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.4111, allocations: 1.95 MB / 0.5798 GB, free: 440 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.4129, allocations: 0.5614 MB / 0.5804 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006316/0.4192, allocations: 4.034 MB / 0.5843 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.4232, allocations: 2.424 MB / 0.5867 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.4262, allocations: 1.475 MB / 0.5881 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.4303, allocations: 2.204 MB / 0.5903 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4316, allocations: 308 kB / 0.5906 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.4345, allocations: 0.9167 MB / 0.5915 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002865/0.4374, allocations: 1.901 MB / 0.5933 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.4404, allocations: 1.614 MB / 0.5949 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.4511, allocations: 7.348 MB / 0.6021 GB, free: 9.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.4511, allocations: 0 / 0.6021 GB, free: 9.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4511, allocations: 0 / 0.6021 GB, free: 9.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000281/0.4514, allocations: 0 / 0.6021 GB, free: 9.523 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.01469/0.4661, allocations: 4.945 MB / 0.6069 GB, free: 4.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4661, allocations: 8.031 kB / 0.6069 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002368/0.4685, allocations: 0.8235 MB / 0.6077 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.4799, allocations: 3.176 MB / 0.6108 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006603/0.4865, allocations: 2.367 MB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.4868, allocations: 234.2 kB / 0.6134 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.488, allocations: 311.7 kB / 0.6137 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/0.5103, allocations: 12.09 MB / 0.6255 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.5104, allocations: 31.75 kB / 0.6255 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.5109, allocations: 147.8 kB / 0.6256 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005233/0.5161, allocations: 2.839 MB / 0.6284 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.5404, allocations: 11.31 MB / 0.6395 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07017/0.6106, allocations: 39.08 MB / 0.6776 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.6221, allocations: 4.887 MB / 0.6824 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004154/0.6263, allocations: 2.766 MB / 0.6851 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.6275, allocations: 0.5634 MB / 0.6856 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.6276, allocations: 60.5 kB / 0.6857 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 6.412e-06/0.6276, allocations: 0 / 0.6857 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05443/0.682, allocations: 20.04 MB / 0.7053 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.6821, allocations: 77.41 kB / 0.7053 GB, free: 13.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004943/0.6871, allocations: 3.221 MB / 0.7085 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/0.6879, allocations: 65.7 kB / 0.7085 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.6905, allocations: 3.108 MB / 0.7116 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001791/0.6923, allocations: 1.066 MB / 0.7126 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.6944, allocations: 1.203 MB / 0.7138 GB, free: 5.234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6945, allocations: 301.1 kB / 0.7141 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/0.6993, allocations: 2.846 MB / 0.7169 GB, free: 2.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00838/0.7077, allocations: 6.018 MB / 0.7227 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.342/1.05, allocations: 9.657 MB / 0.7322 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.05, allocations: 32.53 kB / 0.7322 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02007/1.07, allocations: 10.03 MB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.612e-05/1.07, allocations: 55.09 kB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/1.07, allocations: 106.2 kB / 0.7421 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/1.074, allocations: 1.36 MB / 0.7435 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004995/1.079, allocations: 1.366 MB / 0.7448 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008668/1.087, allocations: 7.623 MB / 0.7523 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/1.092, allocations: 369.8 kB / 0.7526 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.093, allocations: 339.7 kB / 0.7529 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.004009/1.097, allocations: 2.301 MB / 0.7552 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006723/1.097, allocations: 320.8 kB / 0.7555 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009309/1.107, allocations: 6.619 MB / 0.7619 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-05/1.107, allocations: 50.45 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.107, allocations: 8.734 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/1.107, allocations: 11.97 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/1.128, allocations: 13.34 MB / 0.775 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.128, allocations: 9.969 kB / 0.7751 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.13, allocations: 451.3 kB / 0.7755 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/1.133, allocations: 1.215 MB / 0.7767 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.133, allocations: 51.94 kB / 0.7767 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/1.14, allocations: 6.86 MB / 0.7834 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.14, allocations: 8 kB / 0.7834 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.152, allocations: 9.867 MB / 0.7931 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/1.153, allocations: 289.9 kB / 0.7933 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007694/1.154, allocations: 51.98 kB / 0.7934 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.155, allocations: 196.4 kB / 0.7936 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/1.156, allocations: 169.6 kB / 0.7937 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.156, allocations: 72 kB / 0.7938 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002357/1.158, allocations: 1.874 MB / 0.7956 GB, free: 99.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.158, allocations: 0 / 0.7956 GB, free: 99.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005105/1.163, allocations: 1.112 MB / 0.7967 GB, free: 98.89 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.0124/1.176, allocations: 10.53 MB / 0.807 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009269/1.185, allocations: 6.678 MB / 0.8135 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/1.185, allocations: 0 / 0.8135 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.189, allocations: 2.65 MB / 0.8161 GB, free: 78.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.191, allocations: 435 kB / 0.8165 GB, free: 78.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05999/1.251, allocations: 49.08 MB / 0.8645 GB, free: 24.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/1.255, allocations: 3.042 MB / 0.8674 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004369/1.259, allocations: 2.2 MB / 0.8696 GB, free: 19.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003209/1.262, allocations: 2.065 MB / 0.8716 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/1.262, allocations: 0 / 0.8716 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.403, allocations: 73.46 MB / 0.9433 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.76, allocations: 16.7 kB / 0.9434 GB, free: 8.227 MB / 0.6231 GB " [Timeout remaining time 643] (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.08650494000176]