Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001036/0.001036, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001362/0.001362, allocations: 169 kB / 24.14 MB, free: 364 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 0.8971/0.8971, allocations: 158.6 MB / 186 MB, free: 2.758 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.1367/0.1367, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.989e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.1776/0.1777, allocations: 12.77 MB / 311.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1886, allocations: 4.884 MB / 316.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.1915, allocations: 119 kB / 316.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004586/0.196, allocations: 3.953 MB / 320.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.2016, allocations: 2.324 MB / 323.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.2037, allocations: 1.204 MB / 324.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007104/0.2108, allocations: 7.139 MB / 331.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005561/0.2163, allocations: 4.245 MB / 335.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006768/0.2231, allocations: 3.778 MB / 339.5 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.2273, allocations: 3.001 MB / 342.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.2285, allocations: 436 kB / 342.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.2311, allocations: 1.447 MB / 344.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.2335, allocations: 2.692 MB / 347.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.2363, allocations: 1.667 MB / 348.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007197/0.2435, allocations: 5.827 MB / 354.6 MB, free: 6.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2435, allocations: 4 kB / 354.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2435, allocations: 0 / 354.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.2437, allocations: 0 / 354.6 MB, free: 6.539 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.007955/0.2517, allocations: 5.765 MB / 360.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2517, allocations: 12.03 kB / 360.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.2552, allocations: 1.288 MB / 361.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.2598, allocations: 2.756 MB / 364.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.26, allocations: 287.7 kB / 364.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/0.2605, allocations: 380.1 kB / 365 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.2687, allocations: 5.835 MB / 370.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.2689, allocations: 59.52 kB / 370.9 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.2693, allocations: 179.8 kB / 371.1 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001762/0.271, allocations: 1.933 MB / 373.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00761/0.2786, allocations: 2.93 MB / 376 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04405/0.3227, allocations: 36.19 MB / 412.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.3297, allocations: 2.13 MB / 414.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.3306, allocations: 433.2 kB / 414.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0094/0.34, allocations: 4.52 MB / 419.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.34, allocations: 51.5 kB / 419.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 6.903e-06/0.34, allocations: 0 / 419.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.02803/0.3681, allocations: 9.938 MB / 429.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.3682, allocations: 197.2 kB / 429.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.3724, allocations: 3.877 MB / 433.3 MB, free: 5.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.3726, allocations: 53.7 kB / 433.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.3743, allocations: 3.535 MB / 436.9 MB, free: 1.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009046/0.3752, allocations: 0.783 MB / 437.7 MB, free: 1.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.3763, allocations: 1.311 MB / 439 MB, free: 15.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.3764, allocations: 309.1 kB / 439.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3777, allocations: 0.859 MB / 440.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/0.3813, allocations: 4.965 MB / 445.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.3869, allocations: 6.423 MB / 451.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/0.387, allocations: 40 kB / 451.6 MB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.007166/0.3942, allocations: 5.102 MB / 456.7 MB, free: 9.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.3943, allocations: 68 kB / 456.7 MB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.3944, allocations: 152 kB / 456.9 MB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.3964, allocations: 1.006 MB / 457.9 MB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.3992, allocations: 1.61 MB / 459.5 MB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1603/0.5596, allocations: 6.979 MB / 466.5 MB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/0.5637, allocations: 302.5 kB / 466.8 MB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/0.5644, allocations: 361.8 kB / 467.1 MB, free: 128.2 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.001683/0.5661, allocations: 0.6861 MB / 467.8 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/0.5669, allocations: 265.8 kB / 468.1 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.5696, allocations: 1.474 MB / 469.6 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.5696, allocations: 20.16 kB / 469.6 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.5696, allocations: 7.75 kB / 469.6 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5697, allocations: 8.812 kB / 469.6 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.5798, allocations: 5.85 MB / 475.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.5798, allocations: 7.625 kB / 475.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007866/0.5806, allocations: 281.8 kB / 475.7 MB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.5828, allocations: 0.9526 MB / 476.7 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.5829, allocations: 46.3 kB / 476.7 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.5874, allocations: 6.178 MB / 482.9 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.5874, allocations: 13.11 kB / 482.9 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.5915, allocations: 2.453 MB / 485.4 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.5928, allocations: 0.5359 MB / 485.9 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.5932, allocations: 38.5 kB / 485.9 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.594, allocations: 43.41 kB / 486 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.5943, allocations: 150.7 kB / 486.1 MB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.5944, allocations: 45.22 kB / 486.2 MB, free: 121.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001883/0.5963, allocations: 1.478 MB / 487.6 MB, free: 121.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5963, allocations: 0 / 487.6 MB, free: 121.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004506/0.6008, allocations: 1.303 MB / 489 MB, free: 121.1 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.0004318/0.6012, allocations: 184.2 kB / 489.1 MB, free: 121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.6055, allocations: 3.412 MB / 492.5 MB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001835/0.6057, allocations: 108.5 kB / 492.6 MB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.607, allocations: 1.142 MB / 493.8 MB, free: 119.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.6099, allocations: 0.7694 MB / 494.6 MB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6211, allocations: 9.015 MB / 0.4918 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.6225, allocations: 1.506 MB / 0.4932 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00165/0.6242, allocations: 0.5814 MB / 0.4938 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/0.6251, allocations: 0.6383 MB / 0.4944 GB, free: 111.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.335e-06/0.6251, allocations: 0 / 0.4944 GB, free: 111.6 MB / 426.7 MB Notification: Performance of Templates: time 0.06006/0.6851, allocations: 43.77 MB / 0.5372 GB, free: 68.31 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.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.3115797601640224]