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.001463/0.001463, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00165/0.00165, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3701/0.3701, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/4.099e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01767/0.01771, allocations: 11.68 MB / 388.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.03029, allocations: 4.602 MB / 393.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.03346, allocations: 115.4 kB / 393.7 MB, free: 2.508 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00941/0.04287, allocations: 3.882 MB / 397.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008119/0.05099, allocations: 2.302 MB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.05524, allocations: 1.193 MB / 401 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.06911, allocations: 7.71 MB / 408.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008497/0.07761, allocations: 4.431 MB / 413.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009386/0.087, allocations: 3.169 MB / 416.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006816/0.09381, allocations: 3.16 MB / 419.5 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.09564, allocations: 448 kB / 419.9 MB, free: 8.098 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.09961, allocations: 1.408 MB / 421.4 MB, free: 6.688 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.1041, allocations: 2.665 MB / 424 MB, free: 4.016 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004511/0.1086, allocations: 1.659 MB / 425.7 MB, free: 2.352 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.1239, allocations: 8.988 MB / 434.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1239, allocations: 0 / 434.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1239, allocations: 0 / 434.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003173/0.1242, allocations: 0 / 434.7 MB, free: 9.336 MB / 410.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.02157/0.1458, allocations: 6.47 MB / 441.1 MB, free: 2.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1459, allocations: 12.03 kB / 441.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2217/0.3676, allocations: 3.155 MB / 444.3 MB, free: 97.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008971/0.3765, allocations: 3.859 MB / 448.2 MB, free: 96.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.3767, allocations: 281.9 kB / 448.4 MB, free: 96.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.378, allocations: 388.2 kB / 448.8 MB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.3959, allocations: 12.15 MB / 461 MB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.3961, allocations: 61.16 kB / 461 MB, free: 90.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.3965, allocations: 171.5 kB / 461.2 MB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/0.3993, allocations: 2.15 MB / 463.3 MB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.4171, allocations: 10.43 MB / 473.8 MB, free: 87.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05374/0.4708, allocations: 44.39 MB / 0.506 GB, free: 51.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.4835, allocations: 5.244 MB / 0.5111 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/0.4864, allocations: 2.749 MB / 0.5138 GB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.4984, allocations: 8.193 MB / 0.5218 GB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.4984, allocations: 51.88 kB / 0.5219 GB, free: 36.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 6.131e-06/0.4984, allocations: 0 / 0.5219 GB, free: 36.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=263): time 0.1262/0.6246, allocations: 41.71 MB / 0.5626 GB, free: 10.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.6248, allocations: 209.9 kB / 0.5628 GB, free: 10.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008122/0.6329, allocations: 4.661 MB / 0.5674 GB, free: 5.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007593/0.6337, allocations: 69.7 kB / 0.5674 GB, free: 5.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003818/0.6375, allocations: 3.66 MB / 0.571 GB, free: 1.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.6393, allocations: 1.004 MB / 0.572 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/0.6421, allocations: 1.409 MB / 0.5734 GB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6423, allocations: 301.1 kB / 0.5736 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005827/0.6481, allocations: 3.352 MB / 0.5769 GB, free: 11.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/0.6589, allocations: 7.232 MB / 0.584 GB, free: 2.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/0.678, allocations: 11.25 MB / 0.595 GB, free: 5.562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/0.6782, allocations: 39.98 kB / 0.595 GB, free: 5.523 MB / 458.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.1938/0.8721, allocations: 14.84 MB / 0.6095 GB, free: 125.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.8721, allocations: 63.28 kB / 0.6096 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.8723, allocations: 137.1 kB / 0.6097 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/0.8878, allocations: 6.101 MB / 0.6157 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/0.8927, allocations: 1.49 MB / 0.6171 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03875/0.9314, allocations: 29.88 MB / 0.6463 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/0.9375, allocations: 0.5301 MB / 0.6468 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.9385, allocations: 408 kB / 0.6472 GB, free: 109.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (793): * Single equations (assignments): 787 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,49,48.1%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003979/0.9425, allocations: 2.466 MB / 0.6496 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/0.944, allocations: 488 kB / 0.6501 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/0.9615, allocations: 9.256 MB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-05/0.9615, allocations: 27.34 kB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.746e-05/0.9616, allocations: 13.22 kB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/0.9616, allocations: 14.91 kB / 0.6592 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/0.9934, allocations: 16.6 MB / 0.6754 GB, free: 89.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.9934, allocations: 4 kB / 0.6754 GB, free: 89.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.995, allocations: 328 kB / 0.6757 GB, free: 88.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/1.009, allocations: 5.686 MB / 0.6812 GB, free: 83.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005407/1.009, allocations: 47.98 kB / 0.6813 GB, free: 83.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03234/1.041, allocations: 28.78 MB / 0.7094 GB, free: 54.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.041, allocations: 12.03 kB / 0.7094 GB, free: 54.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.063, allocations: 13.57 MB / 0.7227 GB, free: 40.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.065, allocations: 445.3 kB / 0.7231 GB, free: 40.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/1.066, allocations: 56.62 kB / 0.7231 GB, free: 40 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.069, allocations: 275.5 kB / 0.7234 GB, free: 39.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009531/1.07, allocations: 205.9 kB / 0.7236 GB, free: 39.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003457/1.07, allocations: 68 kB / 0.7237 GB, free: 39.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004504/1.075, allocations: 2.796 MB / 0.7264 GB, free: 36.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.075, allocations: 0 / 0.7264 GB, free: 36.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00736/1.082, allocations: 1.624 MB / 0.728 GB, free: 35.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (159): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,42,48.1%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008433/1.083, allocations: 203.4 kB / 0.7282 GB, free: 34.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/1.096, allocations: 8.514 MB / 0.7365 GB, free: 26.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.096, allocations: 0.9375 kB / 0.7365 GB, free: 26.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005556/1.102, allocations: 3.536 MB / 0.7399 GB, free: 22.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.107, allocations: 0.5466 MB / 0.7405 GB, free: 22.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.126, allocations: 12.87 MB / 0.753 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/1.131, allocations: 3.398 MB / 0.7564 GB, free: 5.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004268/1.135, allocations: 1.949 MB / 0.7583 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.136, allocations: 272.4 kB / 0.7585 GB, free: 3.598 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/1.136, allocations: 0 / 0.7585 GB, free: 3.598 MB / 458.7 MB Notification: Performance of Templates: time 0.2768/1.413, allocations: 69.79 MB / 0.8267 GB, free: 113.7 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.143350044963881]