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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007395/0.0007395, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001847, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.003031, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9113/0.9113, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.066, allocations: 52.5 MB / 238.5 MB, free: 7.609 MB / 234.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.155/0.155, allocations: 32.79 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01885/0.1738, allocations: 12.54 MB / 284.5 MB, free: 9.699 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.242e-06/1.242e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.757e-06/9.999e-06, allocations: 2.312 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.008746/0.008756, allocations: 12.82 MB / 298.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006696/0.01545, allocations: 4.912 MB / 303.6 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007193/0.01617, allocations: 115.4 kB / 303.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.01933, allocations: 3.796 MB / 307.5 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.02179, allocations: 2.313 MB / 309.8 MB, free: 372 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.0229, allocations: 1.103 MB / 310.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004476/0.02738, allocations: 6.774 MB / 317.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.0306, allocations: 3.901 MB / 321.6 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.03383, allocations: 4.005 MB / 325.6 MB, free: 468 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1355/0.1693, allocations: 2.963 MB / 328.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.1705, allocations: 435.1 kB / 329 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.173, allocations: 1.443 MB / 330.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.1743, allocations: 2.405 MB / 332.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.1757, allocations: 1.354 MB / 334.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.1796, allocations: 5.377 MB / 339.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1796, allocations: 0 / 339.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1796, allocations: 2.094 kB / 339.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.1798, allocations: 0 / 339.5 MB, free: 9.828 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.006473/0.1863, allocations: 6.894 MB / 346.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1863, allocations: 15.5 kB / 346.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.1893, allocations: 1.289 MB / 347.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.1921, allocations: 2.721 MB / 350.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1922, allocations: 278 kB / 350.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/0.1926, allocations: 384.6 kB / 351.1 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/0.1977, allocations: 5.84 MB / 356.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-05/0.1978, allocations: 58.38 kB / 357 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.1981, allocations: 186.6 kB / 357.2 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001314/0.1994, allocations: 1.81 MB / 359 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/0.2043, allocations: 2.938 MB / 361.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.2315, allocations: 36.17 MB / 398.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/0.2361, allocations: 2.076 MB / 400.2 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.2366, allocations: 435.1 kB / 400.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005875/0.2425, allocations: 4.491 MB / 405.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2425, allocations: 47.56 kB / 405.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=160): time 4.198e-06/0.2425, allocations: 0 / 405.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=192): time 0.02603/0.2686, allocations: 9.848 MB / 415 MB, free: 7.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.2686, allocations: 149.8 kB / 415.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/0.2726, allocations: 3.855 MB / 419 MB, free: 4.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.282e-05/0.2727, allocations: 49.7 kB / 419 MB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.2741, allocations: 3.542 MB / 422.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.2746, allocations: 0.7679 MB / 423.3 MB, free: 308 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.2756, allocations: 1.312 MB / 424.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.2757, allocations: 305.1 kB / 425 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.2769, allocations: 0.8629 MB / 425.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/0.28, allocations: 4.971 MB / 430.8 MB, free: 7.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/0.2854, allocations: 6.921 MB / 437.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-05/0.2855, allocations: 44 kB / 437.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006441/0.2919, allocations: 5.096 MB / 442.8 MB, free: 9.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.292, allocations: 68 kB / 442.9 MB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.2921, allocations: 159.9 kB / 443.1 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.2943, allocations: 1.015 MB / 444.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.2973, allocations: 1.716 MB / 445.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.3032, allocations: 6.98 MB / 452.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/0.3066, allocations: 307.6 kB / 453.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/0.3069, allocations: 363.9 kB / 453.4 MB, free: 14.59 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.001722/0.3086, allocations: 0.6827 MB / 454.1 MB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.3091, allocations: 263.7 kB / 454.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.3114, allocations: 1.47 MB / 455.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.3114, allocations: 16 kB / 455.9 MB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3114, allocations: 4 kB / 455.9 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.3114, allocations: 11.97 kB / 455.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.3201, allocations: 5.817 MB / 461.7 MB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.3201, allocations: 16.69 kB / 461.7 MB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.3208, allocations: 296.2 kB / 462 MB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.3214, allocations: 397.3 kB / 462.4 MB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.3234, allocations: 0.9686 MB / 463.4 MB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/0.3235, allocations: 36 kB / 463.4 MB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/0.3284, allocations: 6.16 MB / 469.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.3284, allocations: 11.94 kB / 469.6 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.3314, allocations: 2.464 MB / 472 MB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.3318, allocations: 43.92 kB / 472.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.3326, allocations: 36 kB / 472.1 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.3328, allocations: 144.6 kB / 472.2 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.3329, allocations: 48 kB / 472.3 MB, free: 11.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001456/0.3344, allocations: 1.461 MB / 473.8 MB, free: 10.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3344, allocations: 0 / 473.8 MB, free: 10.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004976/0.3394, allocations: 1.301 MB / 475.1 MB, free: 8.973 MB / 442.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.0003632/0.3397, allocations: 184 kB / 475.2 MB, free: 8.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.3436, allocations: 3.548 MB / 478.8 MB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001834/0.3438, allocations: 122.8 kB / 478.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.3458, allocations: 1.78 MB / 480.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.3487, allocations: 3.664 MB / 484.3 MB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.3628, allocations: 9.18 MB / 493.5 MB, free: 5.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3641, allocations: 1.497 MB / 495 MB, free: 4.148 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001528/0.3656, allocations: 0.568 MB / 495.6 MB, free: 3.578 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/0.3664, allocations: 0.6221 MB / 496.2 MB, free: 2.953 MB / 458.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3664, allocations: 0 / 496.2 MB, free: 2.953 MB / 458.7 MB Notification: Performance of Templates: time 0.1995/0.5659, allocations: 42.95 MB / 0.5265 GB, free: 116.9 MB / 458.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.859932480379939]