Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9729/0.9729, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.154/0.154, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.001e-05, allocations: 3.156 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.008044/0.008064, allocations: 12.63 MB / 392.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007211/0.01527, allocations: 4.691 MB / 397.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.01706, allocations: 115.4 kB / 397.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.02071, allocations: 3.952 MB / 401.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.02455, allocations: 2.305 MB / 403.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.0264, allocations: 1.189 MB / 404.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008612/0.03501, allocations: 7.731 MB / 412.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005128/0.04014, allocations: 4.439 MB / 417 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005482/0.04562, allocations: 4.242 MB / 421.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.049, allocations: 3.125 MB / 424.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.04962, allocations: 432 kB / 424.8 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.05196, allocations: 1.389 MB / 426.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.05361, allocations: 2.669 MB / 428.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.05505, allocations: 1.647 MB / 430.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.06065, allocations: 5.765 MB / 436.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.06066, allocations: 4 kB / 436.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06066, allocations: 0 / 436.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.81e-05/0.06072, allocations: 0 / 436.3 MB, free: 14.23 MB / 362.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.007103/0.06783, allocations: 6.428 MB / 442.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.06787, allocations: 8.031 kB / 442.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.073, allocations: 2.108 MB / 444.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004222/0.07722, allocations: 2.917 MB / 447.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.07738, allocations: 275.7 kB / 448 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.07788, allocations: 392.1 kB / 448.4 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/0.08577, allocations: 6.494 MB / 454.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.604e-05/0.08586, allocations: 51.58 kB / 455 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.08615, allocations: 179.9 kB / 455.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001516/0.08767, allocations: 1.941 MB / 457.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/0.0932, allocations: 2.922 MB / 460 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2139/0.3071, allocations: 49.87 MB / 0.4979 GB, free: 71.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006263/0.3133, allocations: 2.263 MB / 0.5001 GB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.3141, allocations: 0.5368 MB / 0.5006 GB, free: 71.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006954/0.321, allocations: 4.835 MB / 0.5054 GB, free: 70.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3211, allocations: 55.98 kB / 0.5054 GB, free: 70.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.088e-06/0.3211, allocations: 0 / 0.5054 GB, free: 70.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03823/0.3593, allocations: 12.41 MB / 0.5175 GB, free: 65.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3594, allocations: 208.8 kB / 0.5177 GB, free: 65.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.3651, allocations: 4.263 MB / 0.5219 GB, free: 62.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000366/0.3654, allocations: 54.94 kB / 0.522 GB, free: 62.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002605/0.368, allocations: 4.085 MB / 0.5259 GB, free: 58.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.369, allocations: 0.8143 MB / 0.5267 GB, free: 57.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.3707, allocations: 1.523 MB / 0.5282 GB, free: 56.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.3708, allocations: 480.8 kB / 0.5287 GB, free: 55.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.3722, allocations: 0.6694 MB / 0.5293 GB, free: 54.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.3754, allocations: 6.983 MB / 0.5362 GB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005202/0.3806, allocations: 8.326 MB / 0.5443 GB, free: 34.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.3807, allocations: 40 kB / 0.5443 GB, free: 34.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.008117/0.3888, allocations: 5.936 MB / 0.5501 GB, free: 28.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.3888, allocations: 68 kB / 0.5502 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.389, allocations: 148 kB / 0.5503 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.3911, allocations: 1.023 MB / 0.5513 GB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.3937, allocations: 1.544 MB / 0.5528 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.3991, allocations: 9.179 MB / 0.5618 GB, free: 16.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/0.4032, allocations: 303.7 kB / 0.5621 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006703/0.4039, allocations: 365.7 kB / 0.5624 GB, free: 15.45 MB / 410.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.0018/0.4057, allocations: 0.7188 MB / 0.5631 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008449/0.4065, allocations: 469.2 kB / 0.5636 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.4091, allocations: 1.651 MB / 0.5652 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.4091, allocations: 24 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.4091, allocations: 4 kB / 0.5652 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.4091, allocations: 7.969 kB / 0.5652 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.4212, allocations: 6.814 MB / 0.5719 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.4212, allocations: 4 kB / 0.5719 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.4219, allocations: 247.6 kB / 0.5721 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.4239, allocations: 0.7594 MB / 0.5729 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.4241, allocations: 47.98 kB / 0.5729 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.4298, allocations: 8.393 MB / 0.5811 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/0.4298, allocations: 15.94 kB / 0.5811 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.4351, allocations: 2.917 MB / 0.584 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/0.4374, allocations: 413 kB / 0.5844 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008234/0.4382, allocations: 44.03 kB / 0.5844 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.4393, allocations: 35.98 kB / 0.5844 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.4396, allocations: 141.9 kB / 0.5846 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.4397, allocations: 55.97 kB / 0.5846 GB, free: 7.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00259/0.4422, allocations: 1.755 MB / 0.5863 GB, free: 6.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4422, allocations: 0 / 0.5863 GB, free: 6.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005373/0.4476, allocations: 1.277 MB / 0.5876 GB, free: 4.793 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.0005226/0.4481, allocations: 190.8 kB / 0.5878 GB, free: 4.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005554/0.4537, allocations: 3.861 MB / 0.5915 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.4537, allocations: 4 kB / 0.5916 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.4554, allocations: 1.436 MB / 0.593 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.4585, allocations: 0.5347 MB / 0.5935 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.4735, allocations: 9.092 MB / 0.6024 GB, free: 5.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.4756, allocations: 1.503 MB / 0.6038 GB, free: 3.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002035/0.4776, allocations: 0.576 MB / 0.6044 GB, free: 3.262 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.4787, allocations: 0.6894 MB / 0.6051 GB, free: 2.57 MB / 442.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4787, allocations: 0 / 0.6051 GB, free: 2.57 MB / 442.7 MB Notification: Performance of Templates: time 0.06791/0.5466, allocations: 44.13 MB / 0.6482 GB, free: 6.977 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.0677041918970644]