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.001876/0.001876, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002594/0.002594, allocations: 199.3 kB / 20.74 MB, free: 2.344 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 / 254.1 MB, free: 15.1 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.244/0.244, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.002037/0.002037, allocations: 71.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1456, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01558/0.1611, allocations: 13.51 MB / 0.5686 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009502/0.1706, allocations: 4.229 MB / 0.5727 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.1729, allocations: 79.69 kB / 0.5728 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.1779, allocations: 1.993 MB / 0.5747 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.1837, allocations: 1.934 MB / 0.5766 GB, free: 28 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.1856, allocations: 0.5536 MB / 0.5772 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007195/0.1928, allocations: 4.056 MB / 0.5811 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004825/0.1976, allocations: 2.468 MB / 0.5835 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.2011, allocations: 1.475 MB / 0.585 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004305/0.2054, allocations: 2.196 MB / 0.5871 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.2067, allocations: 308 kB / 0.5874 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.21, allocations: 1.038 MB / 0.5884 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003131/0.2131, allocations: 1.897 MB / 0.5903 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.31/0.5231, allocations: 2.233 MB / 0.5925 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.5336, allocations: 7.315 MB / 0.5996 GB, free: 9.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5336, allocations: 0.6875 kB / 0.5996 GB, free: 9.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5336, allocations: 0 / 0.5996 GB, free: 9.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003273/0.5339, allocations: 0.75 kB / 0.5996 GB, free: 9.832 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.01786/0.5517, allocations: 5.028 MB / 0.6045 GB, free: 7.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.5518, allocations: 9.312 kB / 0.6045 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003001/0.5548, allocations: 0.8135 MB / 0.6053 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.5671, allocations: 3.175 MB / 0.6084 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/0.5746, allocations: 2.412 MB / 0.6108 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.5749, allocations: 236.5 kB / 0.611 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.577, allocations: 313.7 kB / 0.6113 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.6049, allocations: 12.08 MB / 0.6231 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.6051, allocations: 41.34 kB / 0.6231 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.6062, allocations: 145.5 kB / 0.6233 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004699/0.6109, allocations: 2.838 MB / 0.626 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.6343, allocations: 11.35 MB / 0.6371 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07186/0.7062, allocations: 41.12 MB / 0.6773 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/0.7196, allocations: 5.832 MB / 0.683 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/0.7243, allocations: 2.755 MB / 0.6857 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/0.7265, allocations: 1.88 MB / 0.6875 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/0.7265, allocations: 56.56 kB / 0.6876 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 6.802e-06/0.7266, allocations: 0 / 0.6876 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.06335/0.7899, allocations: 20.19 MB / 0.7073 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.79, allocations: 81.41 kB / 0.7073 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/0.7962, allocations: 3.032 MB / 0.7103 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007215/0.7969, allocations: 64.98 kB / 0.7104 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/0.8, allocations: 3.109 MB / 0.7134 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002121/0.8021, allocations: 1.074 MB / 0.7145 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004404/0.8065, allocations: 1.188 MB / 0.7156 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8066, allocations: 305.1 kB / 0.7159 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/0.8126, allocations: 2.846 MB / 0.7187 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00937/0.8219, allocations: 6.022 MB / 0.7246 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/0.8368, allocations: 9.666 MB / 0.734 GB, free: 3.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.837, allocations: 32 kB / 0.734 GB, free: 3.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02474/0.8617, allocations: 10.02 MB / 0.7438 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.8618, allocations: 52 kB / 0.7439 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/0.862, allocations: 112.8 kB / 0.744 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/0.8664, allocations: 1.355 MB / 0.7453 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/0.8721, allocations: 1.372 MB / 0.7466 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.8842, allocations: 7.82 MB / 0.7543 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.8892, allocations: 363.7 kB / 0.7546 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/0.8908, allocations: 344 kB / 0.755 GB, free: 14.57 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.006625/0.8974, allocations: 2.298 MB / 0.7572 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8984, allocations: 317.8 kB / 0.7575 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.9137, allocations: 6.604 MB / 0.764 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.9138, allocations: 50.56 kB / 0.764 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.9138, allocations: 4 kB / 0.764 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.9139, allocations: 11.95 kB / 0.764 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03459/0.9485, allocations: 13.88 MB / 0.7776 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.9485, allocations: 11.94 kB / 0.7776 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.9513, allocations: 460.1 kB / 0.778 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/0.9555, allocations: 1.211 MB / 0.7792 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009131/0.9564, allocations: 48 kB / 0.7793 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.9687, allocations: 7.025 MB / 0.7861 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-05/0.9687, allocations: 11.94 kB / 0.7861 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/0.9911, allocations: 9.871 MB / 0.7958 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9921, allocations: 363 kB / 0.7961 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/0.9935, allocations: 51.98 kB / 0.7962 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/0.9963, allocations: 194 kB / 0.7963 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00098/0.9972, allocations: 169.5 kB / 0.7965 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005428/0.9978, allocations: 75.98 kB / 0.7966 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004267/1.002, allocations: 1.874 MB / 0.7984 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/1.002, allocations: 0 / 0.7984 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006931/1.009, allocations: 1.105 MB / 0.7995 GB, free: 460 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.02189/1.031, allocations: 10.53 MB / 0.8098 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.045, allocations: 6.679 MB / 0.8163 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.045, allocations: 0 / 0.8163 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/1.051, allocations: 2.654 MB / 0.8189 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/1.055, allocations: 422.3 kB / 0.8193 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4164/1.471, 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.008871/1.48, allocations: 3.569 MB / 0.8706 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006579/1.486, allocations: 2.199 MB / 0.8727 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004752/1.491, allocations: 2.073 MB / 0.8748 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.563e-06/1.491, allocations: 3.75 kB / 0.8748 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.609, allocations: 70.55 MB / 0.9437 GB, free: 130.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/24.43, allocations: 21.78 kB / 0.9437 GB, free: 130.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.08778159902431]