Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.00122/0.00122, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001997/0.003217, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009616/0.0009616, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.002022, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 1.082/1.082, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09332/1.175, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2732/0.2732, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02436/0.2975, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 3.938 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.336e-06/9.388e-06, allocations: 4.375 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.009551/0.00956, allocations: 12.77 MB / 305.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.01784, allocations: 4.932 MB / 310.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.01917, allocations: 115.4 kB / 310.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.02252, allocations: 3.788 MB / 314.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.0259, allocations: 2.278 MB / 316.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.02731, allocations: 1.107 MB / 317.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.03233, allocations: 7.126 MB / 324.9 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.03512, allocations: 3.89 MB / 328.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.03859, allocations: 4.013 MB / 332.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.041, allocations: 2.958 MB / 335.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.04153, allocations: 436 kB / 336.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.04314, allocations: 1.428 MB / 337.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.04465, allocations: 2.385 MB / 340 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.04572, allocations: 1.336 MB / 341.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.04968, allocations: 5.34 MB / 346.7 MB, free: 64 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.04969, allocations: 0 / 346.7 MB, free: 64 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04969, allocations: 4 kB / 346.7 MB, free: 60 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.558e-05/0.04976, allocations: 0 / 346.7 MB, free: 60 kB / 330.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.006706/0.05646, allocations: 6.904 MB / 353.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.05649, allocations: 8.031 kB / 353.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.05944, allocations: 1.292 MB / 354.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.06234, allocations: 2.709 MB / 357.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.06249, allocations: 287.7 kB / 357.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.06289, allocations: 380.1 kB / 358.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.06871, allocations: 5.831 MB / 364.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-05/0.0688, allocations: 63.5 kB / 364.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.06908, allocations: 179.8 kB / 364.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.07089, allocations: 1.816 MB / 366.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.07513, allocations: 2.935 MB / 369.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.09952, allocations: 36.16 MB / 405.3 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.1039, allocations: 2.073 MB / 407.4 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.1043, allocations: 429.3 kB / 407.8 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004922/0.1092, allocations: 4.489 MB / 412.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1093, allocations: 55.5 kB / 412.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 2.705e-06/0.1093, allocations: 0 / 412.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02406/0.1333, allocations: 9.837 MB / 422.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1334, allocations: 145.8 kB / 422.3 MB, free: 2.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.1362, allocations: 3.848 MB / 426.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.1362, allocations: 57.69 kB / 426.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.1376, allocations: 3.531 MB / 429.7 MB, free: 10.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.138, allocations: 0.7714 MB / 430.5 MB, free: 9.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.1391, allocations: 1.319 MB / 431.8 MB, free: 8.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.1391, allocations: 301.1 kB / 432.1 MB, free: 8.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.1403, allocations: 0.8668 MB / 433 MB, free: 7.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.1431, allocations: 4.965 MB / 437.9 MB, free: 252 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1749/0.318, allocations: 6.921 MB / 444.9 MB, free: 110.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-05/0.318, allocations: 42.62 kB / 444.9 MB, free: 110.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006926/0.325, allocations: 5.086 MB / 450 MB, free: 109.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.325, allocations: 77.03 kB / 450.1 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.3251, allocations: 156.3 kB / 450.2 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.3272, allocations: 1.004 MB / 451.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.3297, allocations: 1.719 MB / 452.9 MB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.3344, allocations: 6.994 MB / 459.9 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.3374, allocations: 300.4 kB / 460.2 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/0.3379, allocations: 361.8 kB / 460.6 MB, free: 104.4 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.001521/0.3394, allocations: 0.6825 MB / 461.3 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.3398, allocations: 266.1 kB / 461.5 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.3422, allocations: 1.471 MB / 463 MB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.3422, allocations: 16 kB / 463 MB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3423, allocations: 12.28 kB / 463 MB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.3423, allocations: 11.03 kB / 463 MB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.3523, allocations: 5.816 MB / 468.9 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.3524, allocations: 14.19 kB / 468.9 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3534, allocations: 298 kB / 469.2 MB, free: 99.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007262/0.3541, allocations: 396.6 kB / 469.5 MB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.3569, allocations: 0.9581 MB / 470.5 MB, free: 99.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.357, allocations: 37.97 kB / 470.5 MB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/0.3623, allocations: 6.173 MB / 476.7 MB, free: 92.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.3623, allocations: 12.08 kB / 476.7 MB, free: 92.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003894/0.3662, allocations: 2.457 MB / 479.2 MB, free: 90.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/0.3667, allocations: 47.34 kB / 479.2 MB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.3679, allocations: 36 kB / 479.3 MB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.3682, allocations: 155.9 kB / 479.4 MB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.3683, allocations: 40 kB / 479.5 MB, free: 89.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001794/0.3701, allocations: 1.459 MB / 480.9 MB, free: 88.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3701, allocations: 0 / 480.9 MB, free: 88.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003985/0.374, allocations: 1.28 MB / 482.2 MB, free: 87.29 MB / 426.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.0003014/0.3743, allocations: 186.5 kB / 482.4 MB, free: 87.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.3774, allocations: 3.522 MB / 485.9 MB, free: 83.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001655/0.3776, allocations: 128.8 kB / 486 MB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.3793, allocations: 1.79 MB / 487.8 MB, free: 81.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.3815, allocations: 3.658 MB / 491.5 MB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.3946, allocations: 9.167 MB / 0.4889 GB, free: 68.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.3958, allocations: 1.496 MB / 0.4904 GB, free: 66.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001441/0.3973, allocations: 0.568 MB / 0.4909 GB, free: 66.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/0.3982, allocations: 0.6222 MB / 0.4915 GB, free: 65.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3982, allocations: 0 / 0.4915 GB, free: 65.73 MB / 426.7 MB Notification: Performance of Templates: time 0.06131/0.4595, allocations: 42.8 MB / 0.5333 GB, free: 23.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9805188393220305]