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.0009599/0.0009599, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001074/0.001074, allocations: 169 kB / 24.25 MB, free: 308 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 1.01/1.01, allocations: 158.6 MB / 186 MB, free: 2.91 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.1747/0.1747, allocations: 32.37 MB / 270.7 MB, free: 14.78 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 1.943e-06/1.943e-06, allocations: 3.938 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.244e-05, allocations: 2.312 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.007991/0.008014, allocations: 11.68 MB / 359.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.0145, allocations: 4.232 MB / 363.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01556, allocations: 91.56 kB / 363.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.01843, allocations: 2.928 MB / 366.6 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.02118, allocations: 2.15 MB / 368.7 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.0223, allocations: 1.025 MB / 369.8 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.02638, allocations: 5.929 MB / 375.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.02883, allocations: 3.474 MB / 379.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.0311, allocations: 2.674 MB / 381.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.03354, allocations: 2.884 MB / 384.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.03392, allocations: 396 kB / 385.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.03558, allocations: 1.361 MB / 386.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.03721, allocations: 2.396 MB / 388.9 MB, free: 416 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.0386, allocations: 1.476 MB / 390.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.04318, allocations: 5.415 MB / 395.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.04318, allocations: 0 / 395.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04318, allocations: 0 / 395.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.04323, allocations: 0 / 395.8 MB, free: 9.488 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.006289/0.04951, allocations: 6.033 MB / 401.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.04955, allocations: 8.031 kB / 401.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/0.05582, allocations: 3.009 MB / 404.8 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.05919, allocations: 3.014 MB / 407.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.05931, allocations: 246.5 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/0.0597, allocations: 328.3 kB / 408.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.067, allocations: 6.708 MB / 415.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.238e-05/0.06708, allocations: 55.58 kB / 415.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.06735, allocations: 151.9 kB / 415.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.06918, allocations: 2.002 MB / 417.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006928/0.07611, allocations: 3.895 MB / 421.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.214/0.2901, allocations: 44.93 MB / 466.1 MB, free: 48.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/0.296, allocations: 2.29 MB / 468.4 MB, free: 48.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2972, allocations: 0.6801 MB / 469.1 MB, free: 48.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005976/0.3031, allocations: 4.713 MB / 473.8 MB, free: 47.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3032, allocations: 58.53 kB / 473.9 MB, free: 47.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 3.186e-06/0.3032, allocations: 0 / 473.9 MB, free: 47.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=236): time 0.05124/0.3544, allocations: 24.67 MB / 498.5 MB, free: 36.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3545, allocations: 201.9 kB / 498.7 MB, free: 35.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.3577, allocations: 3.729 MB / 0.4907 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.3579, allocations: 53.7 kB / 0.4907 GB, free: 32.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.3591, allocations: 3.476 MB / 0.4941 GB, free: 29.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.3596, allocations: 0.9397 MB / 0.495 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.3609, allocations: 1.404 MB / 0.4964 GB, free: 27.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.3609, allocations: 480.8 kB / 0.4969 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.3626, allocations: 1.32 MB / 0.4982 GB, free: 25.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.3657, allocations: 6.783 MB / 0.5048 GB, free: 16.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/0.3715, allocations: 8.86 MB / 0.5134 GB, free: 5.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/0.3715, allocations: 36 kB / 0.5135 GB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01957/0.3911, allocations: 10.41 MB / 0.5236 GB, free: 11.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.168e-05/0.3912, allocations: 63.94 kB / 0.5237 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.3913, allocations: 130.2 kB / 0.5238 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/0.4053, allocations: 5.211 MB / 0.5289 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.4084, allocations: 1.493 MB / 0.5304 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.4225, allocations: 9.909 MB / 0.5401 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/0.4266, allocations: 483.3 kB / 0.5405 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/0.4271, allocations: 384 kB / 0.5409 GB, free: 9.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * 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 (778): * Single equations (assignments): 773 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001686/0.4288, allocations: 0.6747 MB / 0.5415 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007611/0.4295, allocations: 437.5 kB / 0.542 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.4438, allocations: 6.712 MB / 0.5485 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.4439, allocations: 24 kB / 0.5485 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.4439, allocations: 12 kB / 0.5485 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.4439, allocations: 15.89 kB / 0.5486 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/0.4672, allocations: 13.7 MB / 0.5619 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4672, allocations: 4 kB / 0.5619 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.4682, allocations: 395.3 kB / 0.5623 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/0.4798, allocations: 4.67 MB / 0.5669 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/0.48, allocations: 48 kB / 0.5669 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.4914, allocations: 8.73 MB / 0.5754 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4914, allocations: 11.94 kB / 0.5755 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.5066, allocations: 7.62 MB / 0.5829 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.5091, allocations: 0.8682 MB / 0.5837 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/0.5095, allocations: 40.22 kB / 0.5838 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.5113, allocations: 235.6 kB / 0.584 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006054/0.5119, allocations: 160.9 kB / 0.5842 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/0.5121, allocations: 75.03 kB / 0.5842 GB, free: 12.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00267/0.5148, allocations: 1.659 MB / 0.5859 GB, free: 10.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5148, allocations: 0 / 0.5859 GB, free: 10.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005408/0.5202, allocations: 1.512 MB / 0.5873 GB, free: 9.359 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (167): * Single equations (assignments): 162 * 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,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005219/0.5207, allocations: 204.4 kB / 0.5875 GB, free: 9.156 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007315/0.528, allocations: 4.643 MB / 0.5921 GB, free: 4.512 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.528, allocations: 0 / 0.5921 GB, free: 4.512 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.5305, allocations: 1.672 MB / 0.5937 GB, free: 2.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5326, allocations: 472.1 kB / 0.5941 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.5458, allocations: 9.294 MB / 0.6032 GB, free: 8.914 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.5473, allocations: 1.378 MB / 0.6046 GB, free: 7.512 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003279/0.5506, allocations: 1.594 MB / 0.6061 GB, free: 5.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008034/0.5514, allocations: 252.4 kB / 0.6064 GB, free: 5.664 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5514, allocations: 0 / 0.6064 GB, free: 5.664 MB / 474.7 MB Notification: Performance of Templates: time 0.2528/0.8042, allocations: 68.03 MB / 0.6728 GB, free: 122.1 MB / 474.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.813655733829364]