Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009912/0.0009912, allocations: 80.8 kB / 21.49 MB, free: 2.984 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.001011/0.001011, allocations: 173.5 kB / 24.92 MB, free: 8.707 MB / 18.57 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 0.9145/0.9145, allocations: 177.1 MB / 205.3 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1499/0.1499, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.919e-05, allocations: 4.844 kB / 325.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01092/0.01095, allocations: 11.39 MB / 336.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.01987, allocations: 4.371 MB / 341 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.02171, allocations: 91.5 kB / 341.1 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1671/0.1888, allocations: 2.864 MB / 344 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.1945, allocations: 2.113 MB / 346.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.1966, allocations: 1.02 MB / 347.1 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007376/0.204, allocations: 6.391 MB / 353.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.2081, allocations: 3.299 MB / 356.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.2133, allocations: 3.533 MB / 360.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.2168, allocations: 2.693 MB / 363 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.218, allocations: 396 kB / 363.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.2203, allocations: 1.395 MB / 364.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.2219, allocations: 2.349 MB / 367.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.2242, allocations: 1.457 MB / 368.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.2307, allocations: 5.335 MB / 374 MB, free: 1.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2307, allocations: 4 kB / 374 MB, free: 1.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2307, allocations: 0 / 374 MB, free: 1.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000249/0.2309, allocations: 0 / 374 MB, free: 1.176 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.007776/0.2387, allocations: 5.003 MB / 379 MB, free: 12.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2388, allocations: 12.03 kB / 379 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.2422, allocations: 1.232 MB / 380.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.2455, allocations: 2.296 MB / 382.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.2456, allocations: 241.3 kB / 382.8 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004409/0.2461, allocations: 337.5 kB / 383.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006531/0.2526, allocations: 5.283 MB / 388.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.2527, allocations: 52.92 kB / 388.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.253, allocations: 152.9 kB / 388.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001477/0.2545, allocations: 1.794 MB / 390.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007342/0.2618, allocations: 2.79 MB / 393.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/0.2958, allocations: 32.12 MB / 425.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/0.3012, allocations: 1.799 MB / 427.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.302, allocations: 403.2 kB / 427.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007676/0.3097, allocations: 4.196 MB / 431.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.3098, allocations: 55.55 kB / 431.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=163): time 5.219e-06/0.3098, allocations: 0 / 431.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=200): time 0.0214/0.3312, allocations: 7.642 MB / 439.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3312, allocations: 201.2 kB / 439.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.3343, allocations: 3.371 MB / 442.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.3346, allocations: 53.7 kB / 443 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.336, allocations: 3.117 MB / 446.1 MB, free: 8.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/0.3367, allocations: 0.7906 MB / 446.9 MB, free: 8.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.3378, allocations: 1.212 MB / 448.1 MB, free: 6.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.3378, allocations: 305.1 kB / 448.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.3391, allocations: 0.8808 MB / 449.3 MB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.3418, allocations: 4.605 MB / 453.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/0.3464, allocations: 5.986 MB / 459.9 MB, free: 7.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.884e-05/0.3465, allocations: 40 kB / 459.9 MB, free: 7.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.008166/0.3547, allocations: 4.891 MB / 464.8 MB, free: 2.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.3548, allocations: 60 kB / 464.9 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.3549, allocations: 136 kB / 465 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.3572, allocations: 0.9517 MB / 465.9 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.3603, allocations: 1.505 MB / 467.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.3652, allocations: 4.693 MB / 472.1 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.3684, allocations: 279.7 kB / 472.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/0.369, allocations: 332 kB / 472.7 MB, free: 10.16 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.001711/0.3707, allocations: 0.6343 MB / 473.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/0.3712, allocations: 247.7 kB / 473.6 MB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.3739, allocations: 1.655 MB / 475.3 MB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.3739, allocations: 20 kB / 475.3 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3739, allocations: 11.94 kB / 475.3 MB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3739, allocations: 7.969 kB / 475.3 MB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/0.3816, allocations: 4.859 MB / 480.2 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.3816, allocations: 8 kB / 480.2 MB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.3826, allocations: 483.3 kB / 480.6 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.3844, allocations: 0.7322 MB / 481.4 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.3845, allocations: 43.98 kB / 481.4 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.3883, allocations: 4.093 MB / 485.5 MB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3883, allocations: 15.88 kB / 485.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.3921, allocations: 2.526 MB / 488.1 MB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009408/0.3931, allocations: 353.3 kB / 488.4 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.3934, allocations: 35.98 kB / 488.4 MB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007348/0.3941, allocations: 40 kB / 488.5 MB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.3944, allocations: 140.5 kB / 488.6 MB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.3945, allocations: 52.02 kB / 488.7 MB, free: 9.777 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001541/0.3961, allocations: 1.257 MB / 489.9 MB, free: 8.539 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3961, allocations: 0 / 489.9 MB, free: 8.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003593/0.3997, allocations: 1.184 MB / 491.1 MB, free: 7.355 MB / 442.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.0003684/0.4, allocations: 175.9 kB / 491.3 MB, free: 7.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.4038, allocations: 2.893 MB / 494.2 MB, free: 4.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001656/0.4039, allocations: 100.2 kB / 494.3 MB, free: 4.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4052, allocations: 0.7645 MB / 495 MB, free: 3.398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.4077, allocations: 0.6616 MB / 495.7 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4184, allocations: 8.147 MB / 0.492 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.4196, allocations: 1.336 MB / 0.4933 GB, free: 9.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001574/0.4212, allocations: 0.5254 MB / 0.4938 GB, free: 8.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009415/0.4221, allocations: 0.587 MB / 0.4944 GB, free: 7.953 MB / 458.7 MB Notification: Performance of SimCode: time 2.895e-06/0.4221, allocations: 0 / 0.4944 GB, free: 7.953 MB / 458.7 MB Notification: Performance of Templates: time 0.1924/0.6146, allocations: 42.25 MB / 0.5357 GB, free: 128.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.264241959434003]