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.001909/0.001909, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002156/0.002156, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2438/0.2438, allocations: 44.92 MB / 359.6 MB, free: 6.273 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.002001/0.002001, allocations: 71.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3896, allocations: 65.47 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01656/0.4062, allocations: 13.53 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4164, allocations: 4.258 MB / 0.5752 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.4193, allocations: 83.69 kB / 0.5753 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.424, allocations: 2.005 MB / 0.5772 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.4298, allocations: 1.942 MB / 0.5791 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.4315, allocations: 0.5576 MB / 0.5797 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.438, allocations: 4.038 MB / 0.5836 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004654/0.4426, allocations: 2.424 MB / 0.586 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.4463, allocations: 1.472 MB / 0.5874 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.4505, allocations: 2.208 MB / 0.5896 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.4517, allocations: 304 kB / 0.5898 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.4546, allocations: 1.045 MB / 0.5909 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.4572, allocations: 1.889 MB / 0.5927 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005081/0.4623, allocations: 2.244 MB / 0.5949 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4747, allocations: 7.329 MB / 0.6021 GB, free: 10.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4748, allocations: 0 / 0.6021 GB, free: 10.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4748, allocations: 0 / 0.6021 GB, free: 10.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003118/0.4751, allocations: 4 kB / 0.6021 GB, free: 10.21 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.01555/0.4906, allocations: 4.941 MB / 0.6069 GB, free: 5.215 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4907, allocations: 12.03 kB / 0.6069 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001892/0.4909, allocations: 106.2 kB / 0.607 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002192/0.4931, allocations: 0.8196 MB / 0.6078 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.505, allocations: 3.176 MB / 0.6109 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.511, allocations: 2.343 MB / 0.6132 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.5112, allocations: 238 kB / 0.6134 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.5124, allocations: 311.8 kB / 0.6137 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.5365, allocations: 12.08 MB / 0.6255 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.5367, allocations: 35.7 kB / 0.6255 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005087/0.5372, allocations: 151.7 kB / 0.6257 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005382/0.5426, allocations: 2.831 MB / 0.6285 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/0.5672, allocations: 11.36 MB / 0.6395 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06769/0.6349, allocations: 40.97 MB / 0.6796 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.647, allocations: 4.918 MB / 0.6844 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/0.6513, allocations: 2.773 MB / 0.6871 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.6527, allocations: 0.5633 MB / 0.6876 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.6527, allocations: 56.5 kB / 0.6877 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 6.502e-06/0.6527, allocations: 0 / 0.6877 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05443/0.7072, allocations: 19.98 MB / 0.7072 GB, free: 12.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.7072, allocations: 81.39 kB / 0.7073 GB, free: 12.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.7129, allocations: 3.036 MB / 0.7102 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006126/0.7136, allocations: 61.7 kB / 0.7103 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/0.7161, allocations: 3.108 MB / 0.7133 GB, free: 6.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/0.7177, allocations: 1.066 MB / 0.7144 GB, free: 5.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002876/0.7205, allocations: 1.203 MB / 0.7155 GB, free: 4.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7207, allocations: 305.1 kB / 0.7158 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/0.7254, allocations: 2.842 MB / 0.7186 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007674/0.733, allocations: 6.029 MB / 0.7245 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3458/1.079, allocations: 9.649 MB / 0.7339 GB, free: 153 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.079, allocations: 31.44 kB / 0.7339 GB, free: 153 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02104/1.1, allocations: 10.03 MB / 0.7437 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.1, allocations: 50.28 kB / 0.7438 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/1.1, allocations: 110.4 kB / 0.7439 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/1.104, allocations: 1.365 MB / 0.7452 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/1.109, allocations: 1.368 MB / 0.7466 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/1.118, allocations: 7.705 MB / 0.7541 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/1.124, allocations: 366.8 kB / 0.7544 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/1.125, allocations: 341.8 kB / 0.7548 GB, free: 145.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.004104/1.129, allocations: 2.295 MB / 0.757 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007474/1.13, allocations: 324.8 kB / 0.7573 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/1.139, allocations: 6.607 MB / 0.7638 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.265e-05/1.139, allocations: 59.67 kB / 0.7638 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.139, allocations: 4 kB / 0.7638 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/1.139, allocations: 11.95 kB / 0.7638 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.159, allocations: 13.83 MB / 0.7773 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.159, allocations: 11.98 kB / 0.7774 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.161, allocations: 451.3 kB / 0.7778 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/1.164, allocations: 1.214 MB / 0.779 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004224/1.165, allocations: 51.94 kB / 0.779 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007275/1.172, allocations: 6.925 MB / 0.7858 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.172, allocations: 15.94 kB / 0.7858 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/1.185, allocations: 9.87 MB / 0.7954 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000947/1.186, allocations: 287.8 kB / 0.7957 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/1.187, allocations: 51.98 kB / 0.7958 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.189, allocations: 197.6 kB / 0.7959 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004868/1.189, allocations: 169.5 kB / 0.7961 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.189, allocations: 75.81 kB / 0.7962 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002646/1.192, allocations: 1.882 MB / 0.798 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.192, allocations: 0 / 0.798 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004558/1.197, allocations: 1.102 MB / 0.7991 GB, free: 100.6 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.01148/1.208, allocations: 10.52 MB / 0.8094 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008233/1.216, allocations: 6.681 MB / 0.8159 GB, free: 83.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.216, allocations: 0.9375 kB / 0.8159 GB, free: 83.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/1.22, allocations: 2.657 MB / 0.8185 GB, free: 80.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.222, allocations: 424 kB / 0.8189 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05978/1.282, allocations: 49.1 MB / 0.8668 GB, free: 26.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/1.285, allocations: 3.571 MB / 0.8703 GB, free: 22.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003829/1.289, allocations: 2.2 MB / 0.8725 GB, free: 20.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/1.291, allocations: 2.069 MB / 0.8745 GB, free: 18.21 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/1.291, allocations: 0 / 0.8745 GB, free: 18.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.421, allocations: 75.68 MB / 0.9484 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.84/27.26, allocations: 4.062 kB / 0.9484 GB, free: 6.957 MB / 0.6231 GB " [Timeout remaining time 633] (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: 31.435555742005818]