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.001647/0.001647, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00185/0.00185, allocations: 215 kB / 21.45 MB, free: 1.617 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.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.3115/0.3115, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 77.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1337, allocations: 65.42 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01769/0.1514, allocations: 13.52 MB / 0.5656 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.1607, allocations: 4.233 MB / 0.5698 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.1626, allocations: 79.69 kB / 0.5699 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.1667, allocations: 1.985 MB / 0.5718 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.1717, allocations: 1.938 MB / 0.5737 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1733, allocations: 0.5575 MB / 0.5742 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005886/0.1792, allocations: 4.05 MB / 0.5782 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/0.1828, allocations: 2.464 MB / 0.5806 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.1855, allocations: 1.471 MB / 0.582 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.189, allocations: 2.204 MB / 0.5842 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000977/0.19, allocations: 304 kB / 0.5845 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.1923, allocations: 1.038 MB / 0.5855 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.1946, allocations: 1.901 MB / 0.5873 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.1977, allocations: 2.24 MB / 0.5895 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2857/0.4834, allocations: 7.317 MB / 0.5967 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.4834, allocations: 1.562 kB / 0.5967 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4834, allocations: 0 / 0.5967 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000365/0.4838, allocations: 0 / 0.5967 GB, free: 13.79 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.01655/0.5003, allocations: 5.015 MB / 0.6016 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5004, allocations: 13.95 kB / 0.6016 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002982/0.5007, allocations: 110 kB / 0.6017 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002606/0.5033, allocations: 0.8129 MB / 0.6025 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.5163, allocations: 3.178 MB / 0.6056 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.5246, allocations: 2.411 MB / 0.6079 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.5249, allocations: 237.4 kB / 0.6082 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.5275, allocations: 311.9 kB / 0.6085 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/0.557, allocations: 12.09 MB / 0.6203 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.5572, allocations: 32.61 kB / 0.6203 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008814/0.558, allocations: 141.6 kB / 0.6204 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005079/0.5631, allocations: 2.836 MB / 0.6232 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02226/0.5854, allocations: 11.35 MB / 0.6343 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/0.6658, allocations: 41.11 MB / 0.6744 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.6799, allocations: 5.824 MB / 0.6801 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/0.6845, allocations: 2.762 MB / 0.6828 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.6872, allocations: 1.891 MB / 0.6847 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.6873, allocations: 56.56 kB / 0.6847 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 6.081e-06/0.6873, allocations: 3.656 kB / 0.6847 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05821/0.7455, allocations: 20.18 MB / 0.7044 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.7456, allocations: 73.41 kB / 0.7045 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/0.7511, allocations: 3.043 MB / 0.7075 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006952/0.7518, allocations: 63.81 kB / 0.7075 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002776/0.7545, allocations: 3.107 MB / 0.7106 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/0.7562, allocations: 1.076 MB / 0.7116 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.7582, allocations: 1.191 MB / 0.7128 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7583, allocations: 305.1 kB / 0.7131 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/0.7634, allocations: 2.838 MB / 0.7159 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007941/0.7713, allocations: 6.019 MB / 0.7217 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/0.7853, allocations: 9.666 MB / 0.7312 GB, free: 8.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.54e-05/0.7854, allocations: 38.12 kB / 0.7312 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02048/0.8058, allocations: 10.02 MB / 0.741 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/0.8059, allocations: 55.94 kB / 0.741 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.8061, allocations: 108 kB / 0.7412 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/0.8099, allocations: 1.359 MB / 0.7425 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/0.8153, allocations: 1.369 MB / 0.7438 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.8269, allocations: 7.808 MB / 0.7514 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/0.8315, allocations: 366.9 kB / 0.7518 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/0.8325, allocations: 347.9 kB / 0.7521 GB, free: 3.855 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.004201/0.8367, allocations: 2.3 MB / 0.7544 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.8373, allocations: 320 kB / 0.7547 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.8496, allocations: 6.608 MB / 0.7611 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-05/0.8497, allocations: 44 kB / 0.7612 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.8497, allocations: 8 kB / 0.7612 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.404e-05/0.8498, allocations: 15.89 kB / 0.7612 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/0.8761, allocations: 13.88 MB / 0.7747 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.8761, allocations: 8 kB / 0.7748 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.8782, allocations: 457.9 kB / 0.7752 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003561/0.8818, allocations: 1.212 MB / 0.7764 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/0.8821, allocations: 50.81 kB / 0.7764 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.8924, allocations: 7.023 MB / 0.7833 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.8924, allocations: 11.94 kB / 0.7833 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/0.909, allocations: 9.872 MB / 0.7929 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.91, allocations: 367 kB / 0.7933 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005513/0.9105, allocations: 51.98 kB / 0.7933 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.9122, allocations: 191.7 kB / 0.7935 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.9127, allocations: 169.5 kB / 0.7937 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/0.913, allocations: 74.34 kB / 0.7938 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003112/0.9161, allocations: 1.874 MB / 0.7956 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.9161, allocations: 0 / 0.7956 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005048/0.9211, allocations: 1.105 MB / 0.7967 GB, free: 5.754 MB / 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.01729/0.9384, allocations: 10.54 MB / 0.8069 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.9506, allocations: 6.676 MB / 0.8135 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9506, allocations: 4.25 kB / 0.8135 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004752/0.9554, allocations: 2.649 MB / 0.8161 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.9581, allocations: 429.8 kB / 0.8165 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3619/1.32, allocations: 48.96 MB / 0.8643 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/1.325, allocations: 3.575 MB / 0.8678 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005586/1.33, allocations: 2.197 MB / 0.8699 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/1.334, allocations: 2.066 MB / 0.8719 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.834e-06/1.334, allocations: 0 / 0.8719 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.45, allocations: 70.61 MB / 0.9409 GB, free: 134.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.87/25.32, allocations: 10.34 kB / 0.9409 GB, free: 134.7 MB / 0.6387 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/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: 29.6880650689709]