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.0008104/0.0008104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001849, allocations: 449.7 kB / 10.37 MB, free: 328 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.001209/0.001209, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002889, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08878/1.108, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2952/0.2952, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03552/0.3307, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.152e-06/1.152e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.72e-05, allocations: 5.328 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01486/0.01488, allocations: 12.77 MB / 305.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009592/0.02447, allocations: 4.94 MB / 310.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.02611, allocations: 115.4 kB / 310.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.02967, allocations: 3.784 MB / 314.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.03316, allocations: 2.266 MB / 316.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.03473, allocations: 1.115 MB / 317.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.04096, allocations: 7.127 MB / 324.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.04524, allocations: 3.898 MB / 328.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.05039, allocations: 4.005 MB / 332.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.05376, allocations: 2.973 MB / 335.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008022/0.05456, allocations: 436 kB / 336 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.05671, allocations: 1.424 MB / 337.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.05868, allocations: 2.385 MB / 339.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.06033, allocations: 1.34 MB / 341.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.06502, allocations: 5.337 MB / 346.5 MB, free: 152 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.06503, allocations: 0 / 346.5 MB, free: 152 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06503, allocations: 3.938 kB / 346.5 MB, free: 148 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001575/0.06519, allocations: 0 / 346.5 MB, free: 148 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.00728/0.07247, allocations: 6.9 MB / 353.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.0725, allocations: 12.03 kB / 353.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.07574, allocations: 1.288 MB / 354.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.07886, allocations: 2.716 MB / 357.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.07899, allocations: 279.7 kB / 357.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.07939, allocations: 396.1 kB / 358.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/0.08582, allocations: 5.82 MB / 363.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.08594, allocations: 63.48 kB / 364 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.08623, allocations: 179.8 kB / 364.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.08782, allocations: 1.941 MB / 366.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005331/0.09315, allocations: 2.947 MB / 369 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.1215, allocations: 36.16 MB / 405.2 MB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/0.126, allocations: 2.071 MB / 407.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.1266, allocations: 432.5 kB / 407.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006503/0.1331, allocations: 4.489 MB / 412.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1331, allocations: 63.5 kB / 412.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 5.17e-06/0.1331, allocations: 0 / 412.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02504/0.1582, allocations: 9.666 MB / 421.9 MB, free: 2.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1582, allocations: 149.8 kB / 422.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.1625, allocations: 3.844 MB / 425.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.1627, allocations: 53.7 kB / 426 MB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.1642, allocations: 3.535 MB / 429.5 MB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006345/0.1649, allocations: 0.7713 MB / 430.3 MB, free: 9.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.166, allocations: 1.319 MB / 431.6 MB, free: 8.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.1661, allocations: 301.1 kB / 431.9 MB, free: 8.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.1675, allocations: 0.8629 MB / 432.7 MB, free: 7.438 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.1706, allocations: 4.973 MB / 437.7 MB, free: 372 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1866/0.3572, allocations: 6.423 MB / 444.1 MB, free: 96.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.3573, allocations: 45.81 kB / 444.2 MB, free: 96.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.008276/0.3656, allocations: 5.079 MB / 449.3 MB, free: 95.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.3657, allocations: 72.72 kB / 449.3 MB, free: 95.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/0.366, allocations: 148.5 kB / 449.5 MB, free: 95.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.3683, allocations: 1.004 MB / 450.5 MB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/0.3715, allocations: 1.711 MB / 452.2 MB, free: 95.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.3769, allocations: 6.997 MB / 459.2 MB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004304/0.3812, allocations: 296 kB / 459.5 MB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/0.3817, allocations: 364 kB / 459.8 MB, free: 90.42 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.001618/0.3833, allocations: 0.6799 MB / 460.5 MB, free: 90.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.3839, allocations: 273.1 kB / 460.8 MB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.3861, allocations: 1.464 MB / 462.2 MB, free: 89.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.3862, allocations: 22.56 kB / 462.3 MB, free: 89.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3862, allocations: 7.844 kB / 462.3 MB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3862, allocations: 13 kB / 462.3 MB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007903/0.3941, allocations: 5.815 MB / 468.1 MB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3941, allocations: 8.844 kB / 468.1 MB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.3948, allocations: 297.8 kB / 468.4 MB, free: 89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/0.3955, allocations: 390.2 kB / 468.8 MB, free: 89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.3974, allocations: 0.9592 MB / 469.7 MB, free: 88.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/0.3975, allocations: 38.98 kB / 469.8 MB, free: 88.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.4013, allocations: 6.186 MB / 476 MB, free: 83.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.4013, allocations: 15.94 kB / 476 MB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.404, allocations: 2.457 MB / 478.4 MB, free: 81.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/0.4046, allocations: 41.83 kB / 478.5 MB, free: 81.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.4054, allocations: 36.56 kB / 478.5 MB, free: 81.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.4056, allocations: 154.8 kB / 478.7 MB, free: 81.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/0.4057, allocations: 40.94 kB / 478.7 MB, free: 81.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.4072, allocations: 1.459 MB / 480.2 MB, free: 80.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4072, allocations: 0 / 480.2 MB, free: 80.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005324/0.4126, allocations: 1.276 MB / 481.4 MB, free: 79.05 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.0004317/0.413, allocations: 184.4 kB / 481.6 MB, free: 78.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004451/0.4175, allocations: 3.405 MB / 485 MB, free: 75.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002547/0.4177, allocations: 126.2 kB / 485.1 MB, free: 75.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.419, allocations: 1.143 MB / 486.3 MB, free: 74.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.4224, allocations: 1.063 MB / 487.3 MB, free: 73.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.4375, allocations: 9.188 MB / 496.5 MB, free: 64.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.4388, allocations: 1.5 MB / 498 MB, free: 62.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.4405, allocations: 0.576 MB / 498.6 MB, free: 62.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/0.4413, allocations: 0.6367 MB / 499.2 MB, free: 61.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4413, allocations: 0 / 499.2 MB, free: 61.62 MB / 426.7 MB Notification: Performance of Templates: time 0.05783/0.4991, allocations: 43.99 MB / 0.5305 GB, free: 18.12 MB / 426.7 MB " [Timeout remaining time 659] 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.454304421320558]