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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.324/0.324, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001971/0.001971, allocations: 65 kB / 491.8 MB, free: 30.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01748/0.1477, allocations: 13.57 MB / 0.5563 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.1571, allocations: 4.221 MB / 0.5604 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.1593, allocations: 71.88 kB / 0.5605 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004566/0.1639, allocations: 1.989 MB / 0.5624 GB, free: 176 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.1694, allocations: 1.969 MB / 0.5643 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.1713, allocations: 0.5536 MB / 0.5649 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.1778, allocations: 4.018 MB / 0.5688 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.1819, allocations: 2.472 MB / 0.5712 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.1847, allocations: 1.46 MB / 0.5726 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.1888, allocations: 2.208 MB / 0.5748 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.1901, allocations: 304 kB / 0.5751 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.1932, allocations: 1.053 MB / 0.5761 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.196, allocations: 1.936 MB / 0.578 GB, free: 116 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004706/0.2007, allocations: 2.256 MB / 0.5802 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2115, allocations: 7.395 MB / 0.5874 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2115, allocations: 0 / 0.5874 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2115, allocations: 0 / 0.5874 GB, free: 6.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002634/0.2118, allocations: 0 / 0.5874 GB, free: 6.418 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.01218/0.224, allocations: 5.04 MB / 0.5923 GB, free: 1.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.224, allocations: 8.031 kB / 0.5923 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002391/0.2264, allocations: 0.8196 MB / 0.5931 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.2382, allocations: 3.172 MB / 0.5962 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00737/0.2455, allocations: 2.521 MB / 0.5987 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.2459, allocations: 242.2 kB / 0.5989 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.2473, allocations: 319.6 kB / 0.5992 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2798/0.5271, allocations: 12.07 MB / 0.611 GB, free: 52.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.5273, allocations: 34.91 kB / 0.611 GB, free: 52.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000988/0.5283, allocations: 149.3 kB / 0.6112 GB, free: 52.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006474/0.5347, allocations: 2.835 MB / 0.614 GB, free: 52.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/0.5623, allocations: 11.35 MB / 0.625 GB, free: 48.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.6229, allocations: 41.13 MB / 0.6652 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009838/0.6327, allocations: 5.824 MB / 0.6709 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.6358, allocations: 2.748 MB / 0.6736 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.6372, allocations: 1.888 MB / 0.6754 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.6372, allocations: 57.16 kB / 0.6755 GB, free: 4.207 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 5.991e-06/0.6372, allocations: 0 / 0.6755 GB, free: 4.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.0517/0.6889, allocations: 20.2 MB / 0.6952 GB, free: 88 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.689, allocations: 81.45 kB / 0.6953 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005216/0.6942, allocations: 3.043 MB / 0.6983 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006379/0.6948, allocations: 61.7 kB / 0.6983 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.6976, allocations: 3.111 MB / 0.7014 GB, free: 9.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/0.6994, allocations: 1.069 MB / 0.7024 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002845/0.7022, allocations: 1.207 MB / 0.7036 GB, free: 7.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7024, allocations: 305.1 kB / 0.7039 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/0.708, allocations: 2.848 MB / 0.7066 GB, free: 4.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009245/0.7172, allocations: 6.018 MB / 0.7125 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/0.7318, allocations: 9.661 MB / 0.722 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.7319, allocations: 32 kB / 0.722 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02128/0.7532, allocations: 10.02 MB / 0.7318 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.7533, allocations: 52.94 kB / 0.7318 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/0.7535, allocations: 112 kB / 0.7319 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.7574, allocations: 1.366 MB / 0.7333 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/0.7628, allocations: 1.365 MB / 0.7346 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.7753, allocations: 7.804 MB / 0.7422 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/0.7802, allocations: 363.7 kB / 0.7426 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/0.7816, allocations: 344 kB / 0.7429 GB, free: 12.03 MB / 0.5294 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.005963/0.7876, allocations: 2.299 MB / 0.7451 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/0.7886, allocations: 325.8 kB / 0.7455 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.8028, allocations: 6.612 MB / 0.7519 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-05/0.8029, allocations: 44.84 kB / 0.752 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/0.8029, allocations: 7.938 kB / 0.752 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.395e-05/0.803, allocations: 11.95 kB / 0.752 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/0.8364, allocations: 13.88 MB / 0.7655 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.8364, allocations: 8.906 kB / 0.7655 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/0.839, allocations: 455.3 kB / 0.766 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/0.8427, allocations: 1.212 MB / 0.7671 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006739/0.8434, allocations: 55.98 kB / 0.7672 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.854, allocations: 7.01 MB / 0.774 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.854, allocations: 15.88 kB / 0.7741 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.8723, allocations: 9.868 MB / 0.7837 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/0.8733, allocations: 371 kB / 0.7841 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009297/0.8743, allocations: 51.97 kB / 0.7841 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.8764, allocations: 195.7 kB / 0.7843 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00072/0.8771, allocations: 169.5 kB / 0.7845 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003678/0.8775, allocations: 68 kB / 0.7845 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003866/0.8814, allocations: 1.882 MB / 0.7864 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8814, allocations: 0 / 0.7864 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005952/0.8873, allocations: 1.133 MB / 0.7875 GB, free: 13.79 MB / 0.5762 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.01974/0.9071, allocations: 10.54 MB / 0.7978 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01301/0.9201, allocations: 6.673 MB / 0.8043 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.9201, allocations: 7.938 kB / 0.8043 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005357/0.9254, allocations: 2.65 MB / 0.8069 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.929, allocations: 425.7 kB / 0.8073 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3357/1.265, allocations: 48.99 MB / 0.8551 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/1.27, allocations: 3.574 MB / 0.8586 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004727/1.275, allocations: 2.199 MB / 0.8607 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/1.277, allocations: 2.076 MB / 0.8628 GB, free: 204.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.163e-06/1.277, allocations: 0 / 0.8628 GB, free: 204.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.386, allocations: 70.65 MB / 0.9318 GB, free: 145.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.12/25.51, allocations: 4.062 kB / 0.9318 GB, free: 145.9 MB / 0.6231 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 29.21676700282842]