Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001001/0.001001, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001107/0.001107, allocations: 169 kB / 24.14 MB, free: 368 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9551/0.9551, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1326/0.1326, allocations: 32.39 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.701e-05, allocations: 2.312 kB / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.171/0.171, allocations: 11.43 MB / 310.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1814, allocations: 4.358 MB / 314.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.1842, allocations: 92.38 kB / 314.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.1883, allocations: 2.941 MB / 317.9 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.1941, allocations: 2.169 MB / 320 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.1963, allocations: 1.032 MB / 321.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.2033, allocations: 5.908 MB / 327 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/0.2088, allocations: 3.542 MB / 330.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006821/0.2157, allocations: 3.279 MB / 333.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004448/0.2201, allocations: 2.708 MB / 336.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.2215, allocations: 399.9 kB / 336.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.2241, allocations: 1.354 MB / 338.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.2264, allocations: 2.392 MB / 340.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.2287, allocations: 1.468 MB / 342.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.2356, allocations: 5.411 MB / 347.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2356, allocations: 0 / 347.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2356, allocations: 0 / 347.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001856/0.2357, allocations: 3.938 kB / 347.5 MB, free: 13.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.008466/0.2442, allocations: 5.025 MB / 352.6 MB, free: 8.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2443, allocations: 8.031 kB / 352.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/0.2482, allocations: 1.238 MB / 353.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.2528, allocations: 2.341 MB / 356.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.253, allocations: 242.5 kB / 356.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008119/0.2538, allocations: 328.3 kB / 356.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/0.2627, allocations: 5.291 MB / 362 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.2628, allocations: 47.62 kB / 362 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/0.2633, allocations: 151.8 kB / 362.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.265, allocations: 1.795 MB / 364 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005876/0.2708, allocations: 2.794 MB / 366.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/0.3032, allocations: 32.15 MB / 398.9 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.3072, allocations: 1.8 MB / 400.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.3078, allocations: 381.9 kB / 401.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007113/0.315, allocations: 4.2 MB / 405.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.315, allocations: 59.44 kB / 405.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=163): time 4.248e-06/0.315, allocations: 0 / 405.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=200): time 0.02051/0.3355, allocations: 7.687 MB / 413 MB, free: 9.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3356, allocations: 205.2 kB / 413.2 MB, free: 9.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.3397, allocations: 3.408 MB / 416.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.3401, allocations: 57.7 kB / 416.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.3419, allocations: 3.121 MB / 419.8 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/0.3427, allocations: 0.7868 MB / 420.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.3439, allocations: 1.22 MB / 421.8 MB, free: 1.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.344, allocations: 301.1 kB / 422.1 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3454, allocations: 0.8847 MB / 423 MB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.3491, allocations: 4.598 MB / 427.6 MB, free: 9.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0056/0.3547, allocations: 5.989 MB / 433.6 MB, free: 1.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.3548, allocations: 36 kB / 433.6 MB, free: 1.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.01023/0.3651, allocations: 4.879 MB / 438.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.3652, allocations: 67.98 kB / 438.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.3653, allocations: 132 kB / 438.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.3684, allocations: 0.9547 MB / 439.7 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/0.3723, allocations: 1.439 MB / 441.1 MB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.379, allocations: 4.686 MB / 445.8 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/0.3833, allocations: 279.7 kB / 446.1 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008866/0.3842, allocations: 324.2 kB / 446.4 MB, free: 4.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (791): * Single equations (assignments): 786 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002143/0.3863, allocations: 0.6457 MB / 447 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008222/0.3871, allocations: 247.7 kB / 447.3 MB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.3908, allocations: 1.655 MB / 448.9 MB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.3908, allocations: 24 kB / 448.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3908, allocations: 4 kB / 448.9 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.3909, allocations: 11.91 kB / 449 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.4021, allocations: 4.871 MB / 453.8 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.4021, allocations: 8 kB / 453.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4031, allocations: 283.5 kB / 454.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.4062, allocations: 0.92 MB / 455 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.4064, allocations: 39.98 kB / 455.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.4111, allocations: 4.087 MB / 459.2 MB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4111, allocations: 8 kB / 459.2 MB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.4154, allocations: 2.544 MB / 461.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.4169, allocations: 0.5207 MB / 462.2 MB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/0.4175, allocations: 43.98 kB / 462.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009436/0.4184, allocations: 36 kB / 462.3 MB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.4187, allocations: 136.6 kB / 462.4 MB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/0.4188, allocations: 44 kB / 462.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001796/0.4206, allocations: 1.285 MB / 463.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4206, allocations: 0 / 463.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005216/0.4258, allocations: 1.211 MB / 465 MB, free: 1.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (153): * Single equations (assignments): 148 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005716/0.4264, allocations: 184 kB / 465.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1503/0.5767, allocations: 2.883 MB / 468 MB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003824/0.5771, allocations: 99.69 kB / 468.1 MB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.5784, allocations: 0.7713 MB / 468.9 MB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.5816, allocations: 0.6656 MB / 469.6 MB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.5979, allocations: 8.183 MB / 477.8 MB, free: 132.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.6001, allocations: 1.33 MB / 479.1 MB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002126/0.6022, allocations: 0.53 MB / 479.6 MB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009089/0.6031, allocations: 0.5879 MB / 480.2 MB, free: 131.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/0.6031, allocations: 2.656 kB / 480.2 MB, free: 131.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05973/0.6628, allocations: 42.9 MB / 0.5109 GB, free: 98 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.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.294428210239857]