Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.003166, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002734, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09839/1.106, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02293/0.274, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.844e-05, allocations: 7.188 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01006/0.01008, allocations: 11.48 MB / 305.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.01647, allocations: 4.407 MB / 309.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/0.01722, allocations: 87.56 kB / 309.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.02007, allocations: 2.783 MB / 312.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.02282, allocations: 2.092 MB / 314.7 MB, free: 288 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.02396, allocations: 0.9356 MB / 315.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004838/0.0288, allocations: 5.91 MB / 321.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.03136, allocations: 3.026 MB / 324.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.03429, allocations: 3.404 MB / 328 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.03637, allocations: 2.685 MB / 330.7 MB, free: 236 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.03674, allocations: 392 kB / 331 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.03851, allocations: 1.393 MB / 332.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.03971, allocations: 2.089 MB / 334.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.04068, allocations: 1.165 MB / 335.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003697/0.04438, allocations: 4.897 MB / 340.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.04439, allocations: 0 / 340.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.04439, allocations: 4 kB / 340.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.049e-05/0.04443, allocations: 0 / 340.6 MB, free: 6.273 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.005526/0.04996, allocations: 6 MB / 346.6 MB, free: 200 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.04999, allocations: 11.44 kB / 346.6 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.05353, allocations: 1.226 MB / 347.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.05599, allocations: 2.294 MB / 350.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.0561, allocations: 238.5 kB / 350.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.05647, allocations: 332.3 kB / 350.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/0.06154, allocations: 5.285 MB / 356 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.06163, allocations: 55.5 kB / 356 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.06188, allocations: 155.8 kB / 356.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.06326, allocations: 1.799 MB / 358 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004382/0.06764, allocations: 2.797 MB / 360.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.08873, allocations: 32.12 MB / 392.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.09201, allocations: 1.762 MB / 394.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.09247, allocations: 394 kB / 395 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004838/0.09731, allocations: 4.176 MB / 399.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.09735, allocations: 63.53 kB / 399.3 MB, free: 9.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=163): time 3.176e-06/0.09735, allocations: 0 / 399.3 MB, free: 9.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=200): time 0.01682/0.1142, allocations: 7.497 MB / 406.8 MB, free: 1.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1142, allocations: 153.8 kB / 406.9 MB, free: 1.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.1169, allocations: 3.371 MB / 410.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.1169, allocations: 61.69 kB / 410.3 MB, free: 14.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.1181, allocations: 3.117 MB / 413.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.1185, allocations: 0.7868 MB / 414.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009744/0.1195, allocations: 1.208 MB / 415.5 MB, free: 9.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.1196, allocations: 309.1 kB / 415.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.121, allocations: 0.8808 MB / 416.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/0.1243, allocations: 4.598 MB / 421.2 MB, free: 1.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004151/0.1284, allocations: 5.986 MB / 427.2 MB, free: 9.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-05/0.1285, allocations: 36 kB / 427.3 MB, free: 9.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.005853/0.1343, allocations: 4.887 MB / 432.1 MB, free: 4.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.1344, allocations: 64 kB / 432.2 MB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-05/0.1345, allocations: 132 kB / 432.3 MB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.1366, allocations: 0.9562 MB / 433.3 MB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.1393, allocations: 1.607 MB / 434.9 MB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2123/0.3515, allocations: 4.674 MB / 439.6 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/0.3548, allocations: 287.1 kB / 439.9 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005248/0.3553, allocations: 332.5 kB / 440.2 MB, free: 100.5 MB / 426.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.001491/0.3568, allocations: 0.6374 MB / 440.8 MB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.3573, allocations: 250 kB / 441.1 MB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.36, allocations: 1.654 MB / 442.7 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.3601, allocations: 20.88 kB / 442.7 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3601, allocations: 7.312 kB / 442.7 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3601, allocations: 8.344 kB / 442.7 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/0.3665, allocations: 4.856 MB / 447.6 MB, free: 99.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3665, allocations: 7.688 kB / 447.6 MB, free: 99.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.3674, allocations: 0.4969 MB / 448.1 MB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.3677, allocations: 350.7 kB / 448.5 MB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.3694, allocations: 0.7427 MB / 449.2 MB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.3696, allocations: 36.78 kB / 449.2 MB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.3727, allocations: 4.104 MB / 453.3 MB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3727, allocations: 11.38 kB / 453.3 MB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.3755, allocations: 2.543 MB / 455.9 MB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.3758, allocations: 37.69 kB / 455.9 MB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/0.3764, allocations: 34.31 kB / 456 MB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3766, allocations: 134 kB / 456.1 MB, free: 95.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.125e-05/0.3767, allocations: 50.75 kB / 456.1 MB, free: 95.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008084/0.3775, allocations: 1.261 MB / 457.4 MB, free: 95.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3775, allocations: 0 / 457.4 MB, free: 95.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002688/0.3802, allocations: 1.189 MB / 458.6 MB, free: 95.87 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.0002955/0.3804, allocations: 179.7 kB / 458.8 MB, free: 95.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.3831, allocations: 2.89 MB / 461.7 MB, free: 95.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001476/0.3832, allocations: 114.4 kB / 461.8 MB, free: 95.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.3838, allocations: 0.7631 MB / 462.5 MB, free: 95.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.3853, allocations: 0.921 MB / 463.5 MB, free: 95.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.3946, allocations: 8.357 MB / 471.8 MB, free: 88.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.3955, allocations: 1.326 MB / 473.1 MB, free: 87.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009878/0.3965, allocations: 0.5173 MB / 473.6 MB, free: 87.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.3972, allocations: 0.5812 MB / 474.2 MB, free: 86.95 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3972, allocations: 0 / 474.2 MB, free: 86.95 MB / 426.7 MB Notification: Performance of Templates: time 0.04408/0.4413, allocations: 43.04 MB / 0.5051 GB, free: 44.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.094061699695885]