Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.0007561/0.0007561, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009879/0.001744, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006884/0.0006884, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008234/0.001512, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.084/1.084, allocations: 177.1 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.197, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.2916/0.2916, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03496/0.3266, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.7 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.639e-05, allocations: 5.125 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01386/0.0139, allocations: 12.78 MB / 303.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.0261, allocations: 4.931 MB / 308.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.02956, allocations: 115.4 kB / 308.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.03548, allocations: 3.78 MB / 312.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.04212, allocations: 2.278 MB / 314.5 MB, free: 336 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.04505, allocations: 1.115 MB / 315.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009734/0.05478, allocations: 7.126 MB / 322.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00603/0.06081, allocations: 3.898 MB / 326.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/0.06932, allocations: 4.013 MB / 330.6 MB, free: 56 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005977/0.0753, allocations: 2.962 MB / 333.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.07724, allocations: 432 kB / 334 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.08149, allocations: 1.428 MB / 335.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004631/0.08612, allocations: 2.385 MB / 337.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005454/0.09157, allocations: 1.34 MB / 339.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1017, allocations: 5.34 MB / 344.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-05/0.1017, allocations: 0 / 344.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1017, allocations: 4 kB / 344.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003374/0.1021, allocations: 0 / 344.5 MB, free: 2.133 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01356/0.1156, allocations: 6.908 MB / 351.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.1157, allocations: 12.03 kB / 351.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/0.1196, allocations: 1.292 MB / 352.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.1243, allocations: 2.705 MB / 355.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.1245, allocations: 287.6 kB / 355.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.125, allocations: 384.1 kB / 356.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.1353, allocations: 5.824 MB / 361.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.1355, allocations: 63.5 kB / 362 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/0.1359, allocations: 179.8 kB / 362.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001944/0.1378, allocations: 1.933 MB / 364.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008197/0.146, allocations: 2.939 MB / 367 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04072/0.1867, allocations: 36.16 MB / 403.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.1918, allocations: 2.083 MB / 405.3 MB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.1926, allocations: 433.2 kB / 405.7 MB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007765/0.2003, allocations: 4.473 MB / 410.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.2004, allocations: 55.5 kB / 410.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 6.022e-06/0.2004, allocations: 0 / 410.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02725/0.2276, allocations: 9.673 MB / 419.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.2277, allocations: 145.8 kB / 420 MB, free: 4.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.2322, allocations: 3.856 MB / 423.9 MB, free: 336 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.2325, allocations: 53.7 kB / 423.9 MB, free: 276 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.2346, allocations: 3.531 MB / 427.5 MB, free: 12.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/0.2355, allocations: 0.7753 MB / 428.2 MB, free: 11.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.2367, allocations: 1.322 MB / 429.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2369, allocations: 301.1 kB / 429.9 MB, free: 10.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2382, allocations: 0.8629 MB / 430.7 MB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/0.2417, allocations: 4.969 MB / 435.7 MB, free: 2.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2737/0.5154, allocations: 6.418 MB / 442.1 MB, free: 98.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002538/0.5157, allocations: 42.34 kB / 442.1 MB, free: 98.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.01194/0.5276, allocations: 5.09 MB / 447.2 MB, free: 98.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/0.5277, allocations: 72.81 kB / 447.3 MB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/0.5279, allocations: 150.9 kB / 447.5 MB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.5303, allocations: 1 MB / 448.5 MB, free: 98.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/0.5339, allocations: 1.717 MB / 450.2 MB, free: 98.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.5401, allocations: 6.983 MB / 457.2 MB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/0.5457, allocations: 304.2 kB / 457.4 MB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/0.5471, allocations: 360.9 kB / 457.8 MB, free: 93.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00291/0.55, allocations: 0.6789 MB / 458.5 MB, free: 92.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/0.5512, allocations: 268.1 kB / 458.7 MB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5539, allocations: 1.476 MB / 460.2 MB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/0.554, allocations: 19.22 kB / 460.2 MB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.554, allocations: 5.812 kB / 460.2 MB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.554, allocations: 11.89 kB / 460.3 MB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.5658, allocations: 5.814 MB / 466.1 MB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.5658, allocations: 7.844 kB / 466.1 MB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.5667, allocations: 297.1 kB / 466.4 MB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.5682, allocations: 397.8 kB / 466.8 MB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.5706, allocations: 0.9543 MB / 467.7 MB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.5709, allocations: 44 kB / 467.8 MB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/0.5759, allocations: 6.186 MB / 473.9 MB, free: 86.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.5759, allocations: 15.94 kB / 474 MB, free: 86.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.5803, allocations: 2.446 MB / 476.4 MB, free: 84.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/0.5818, allocations: 45.48 kB / 476.4 MB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.583, allocations: 36.67 kB / 476.5 MB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/0.5834, allocations: 146.9 kB / 476.6 MB, free: 84.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.5835, allocations: 44.88 kB / 476.7 MB, free: 84.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002286/0.5858, allocations: 1.463 MB / 478.1 MB, free: 83.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5858, allocations: 0 / 478.1 MB, free: 83.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006258/0.592, allocations: 1.274 MB / 479.4 MB, free: 82.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 2 (j1.phi,j1.w) * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005684/0.5926, allocations: 182.9 kB / 479.6 MB, free: 82.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005948/0.5986, allocations: 3.404 MB / 483 MB, free: 79.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002906/0.5988, allocations: 127.4 kB / 483.1 MB, free: 79.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.6006, allocations: 1.143 MB / 484.3 MB, free: 78.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/0.6044, allocations: 1.071 MB / 485.3 MB, free: 77.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.6235, allocations: 9.175 MB / 494.5 MB, free: 68.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.6254, allocations: 1.496 MB / 496 MB, free: 66.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001951/0.6273, allocations: 0.5742 MB / 496.6 MB, free: 66.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/0.6282, allocations: 0.6377 MB / 497.2 MB, free: 65.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.564e-06/0.6282, allocations: 0 / 497.2 MB, free: 65.41 MB / 426.7 MB Notification: Performance of Templates: time 0.06395/0.6921, allocations: 44.01 MB / 0.5285 GB, free: 21.91 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.833304389379919]