Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002484/0.002491, allocations: 185.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 90.06 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5133/0.5133, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 8 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.86 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3565/0.4805, allocations: 35.99 MB / 0.5139 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.5042, allocations: 8.79 MB / 0.5225 GB, free: 19.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008679/0.513, allocations: 169.3 kB / 0.5226 GB, free: 19.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006638/0.5196, allocations: 1.82 MB / 0.5244 GB, free: 18.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01975/0.5394, allocations: 5.342 MB / 0.5296 GB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.5427, allocations: 466.8 kB / 0.5301 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005468/0.5483, allocations: 2.231 MB / 0.5322 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00629/0.5546, allocations: 3.179 MB / 0.5354 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.557, allocations: 1.012 MB / 0.5363 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.5599, allocations: 1.359 MB / 0.5377 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.5611, allocations: 156.8 kB / 0.5378 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.5642, allocations: 0.7531 MB / 0.5386 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.5669, allocations: 1.567 MB / 0.5401 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.5685, allocations: 0.8831 MB / 0.5409 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.5785, allocations: 5.622 MB / 0.5464 GB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5786, allocations: 4 kB / 0.5464 GB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5786, allocations: 0 / 0.5464 GB, free: 10.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003181/0.5789, allocations: 3.75 kB / 0.5464 GB, free: 10.03 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01432/0.5932, allocations: 4.183 MB / 0.5505 GB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5933, allocations: 8.781 kB / 0.5505 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02347/0.6168, allocations: 3.788 MB / 0.5542 GB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008169/0.625, allocations: 2.408 MB / 0.5566 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004094/0.6255, allocations: 236.8 kB / 0.5568 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/0.6278, allocations: 314.1 kB / 0.5571 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03677/0.6647, allocations: 12.18 MB / 0.569 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.6649, allocations: 35.66 kB / 0.569 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002151/0.6671, allocations: 143.8 kB / 0.5692 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009553/0.6767, allocations: 2.831 MB / 0.5719 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/0.7155, allocations: 11.46 MB / 0.5831 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/0.8156, allocations: 41.28 MB / 0.6235 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/0.8375, allocations: 6.161 MB / 0.6295 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.8405, allocations: 1.888 MB / 0.6313 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.262e-05/0.8407, allocations: 60.5 kB / 0.6314 GB, free: 7.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 7.354e-06/0.8407, allocations: 0 / 0.6314 GB, free: 7.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.09844/0.9391, allocations: 21.07 MB / 0.6519 GB, free: 2.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.9392, allocations: 81.34 kB / 0.652 GB, free: 2.277 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008551/0.9478, allocations: 3.158 MB / 0.6551 GB, free: 15.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008957/0.9488, allocations: 61.7 kB / 0.6552 GB, free: 15.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/0.9522, allocations: 2.979 MB / 0.6581 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002394/0.9547, allocations: 1.029 MB / 0.6591 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.9558, allocations: 116 kB / 0.6592 GB, free: 10.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007033/0.9565, allocations: 0.5708 MB / 0.6598 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008998/0.9656, allocations: 2.827 MB / 0.6625 GB, free: 7.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/0.9779, allocations: 6.016 MB / 0.6684 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.9895, allocations: 4.099 MB / 0.6724 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/0.9897, allocations: 32 kB / 0.6724 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0339/1.024, allocations: 9.934 MB / 0.6821 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.024, allocations: 59.16 kB / 0.6822 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.024, allocations: 115.9 kB / 0.6823 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007081/1.031, allocations: 1.37 MB / 0.6836 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.34/1.371, allocations: 1.377 MB / 0.685 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.391, allocations: 7.681 MB / 0.6925 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007399/1.398, allocations: 371.6 kB / 0.6928 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/1.4, allocations: 347.2 kB / 0.6932 GB, free: 148.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008144/1.408, allocations: 2.3 MB / 0.6954 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.409, allocations: 315.2 kB / 0.6957 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/1.432, allocations: 6.611 MB / 0.7022 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/1.432, allocations: 50.48 kB / 0.7022 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/1.432, allocations: 3.219 kB / 0.7022 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.777e-05/1.433, allocations: 9.562 kB / 0.7022 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04359/1.476, allocations: 14.01 MB / 0.7159 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/1.476, allocations: 5.969 kB / 0.7159 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00431/1.481, allocations: 454.5 kB / 0.7163 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006702/1.487, allocations: 1.213 MB / 0.7175 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008756/1.488, allocations: 48.67 kB / 0.7176 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/1.504, allocations: 6.732 MB / 0.7241 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/1.504, allocations: 18.66 kB / 0.7242 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/1.531, allocations: 10.45 MB / 0.7344 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/1.534, allocations: 0.825 MB / 0.7352 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/1.537, allocations: 51.38 kB / 0.7352 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004358/1.541, allocations: 200.3 kB / 0.7354 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/1.542, allocations: 163.5 kB / 0.7356 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005688/1.543, allocations: 68.5 kB / 0.7356 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005334/1.548, allocations: 1.953 MB / 0.7375 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.41e-07/1.548, allocations: 0 / 0.7375 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008755/1.557, allocations: 1.156 MB / 0.7387 GB, free: 131.5 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/1.559, allocations: 209.8 kB / 0.7389 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.575, allocations: 6.871 MB / 0.7456 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.575, allocations: 4 kB / 0.7456 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/1.583, allocations: 2.847 MB / 0.7484 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/1.586, allocations: 362.3 kB / 0.7487 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/1.617, allocations: 13.92 MB / 0.7623 GB, free: 110 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007739/1.625, allocations: 3.691 MB / 0.7659 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/1.628, allocations: 291.4 kB / 0.7662 GB, free: 106 MB / 0.4948 GB Notification: Performance of SimCode: time 1.402e-06/1.628, allocations: 0 / 0.7662 GB, free: 106 MB / 0.4948 GB Notification: Performance of Templates: time 0.1525/1.78, allocations: 81 MB / 0.8453 GB, free: 25 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches