Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001491/0.001491, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001458/0.001458, allocations: 165.4 kB / 24.56 MB, free: 16 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.005/1.005, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.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.2516/0.2516, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.141e-05/4.397e-05, allocations: 6.25 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.009781/0.009825, allocations: 11.63 MB / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007932/0.01776, allocations: 4.24 MB / 393.9 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.02033, allocations: 91.5 kB / 394 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.02435, allocations: 2.924 MB / 396.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.02974, allocations: 2.127 MB / 399 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.03148, allocations: 1.017 MB / 400.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007113/0.03859, allocations: 6.404 MB / 406.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004782/0.04337, allocations: 3.439 MB / 409.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/0.04888, allocations: 3.626 MB / 413.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.05219, allocations: 2.814 MB / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009336/0.05312, allocations: 396 kB / 416.7 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.05538, allocations: 1.354 MB / 418.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.05753, allocations: 2.353 MB / 420.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.05963, allocations: 1.453 MB / 421.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006159/0.06579, allocations: 5.345 MB / 427.2 MB, free: 1.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.06579, allocations: 0 / 427.2 MB, free: 1.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.06579, allocations: 3.938 kB / 427.2 MB, free: 1.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000248/0.06604, allocations: 0 / 427.2 MB, free: 1.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.009448/0.07549, allocations: 6.014 MB / 433.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.07554, allocations: 8.031 kB / 433.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006627/0.08217, allocations: 2.939 MB / 436.2 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.08615, allocations: 2.819 MB / 439 MB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.08628, allocations: 246.5 kB / 439.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005545/0.08683, allocations: 328.3 kB / 439.6 MB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1763/0.2631, allocations: 6.702 MB / 446.3 MB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.2633, allocations: 48.27 kB / 446.3 MB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004645/0.2638, allocations: 151.3 kB / 446.5 MB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.2654, allocations: 1.952 MB / 448.4 MB, free: 88.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.274, allocations: 3.793 MB / 452.2 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.3026, allocations: 45.06 MB / 497.3 MB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.3074, allocations: 2.085 MB / 499.4 MB, free: 52.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.3082, allocations: 0.5582 MB / 499.9 MB, free: 52.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006804/0.315, allocations: 4.7 MB / 0.4928 GB, free: 49.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.315, allocations: 54.45 kB / 0.4929 GB, free: 49.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 3.647e-06/0.315, allocations: 0 / 0.4929 GB, free: 49.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.03135/0.3464, allocations: 12.85 MB / 0.5054 GB, free: 46.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3464, allocations: 208.3 kB / 0.5056 GB, free: 45.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.3504, allocations: 3.789 MB / 0.5093 GB, free: 44.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.3507, allocations: 56.17 kB / 0.5094 GB, free: 44.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.3521, allocations: 3.526 MB / 0.5128 GB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/0.3527, allocations: 0.8255 MB / 0.5136 GB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.3538, allocations: 1.371 MB / 0.5149 GB, free: 40.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.3539, allocations: 484.7 kB / 0.5154 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.355, allocations: 0.8058 MB / 0.5162 GB, free: 39.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.3582, allocations: 6.486 MB / 0.5225 GB, free: 30.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/0.3629, allocations: 7.964 MB / 0.5303 GB, free: 20.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-05/0.3629, allocations: 36 kB / 0.5303 GB, free: 20 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.007967/0.3709, allocations: 6.359 MB / 0.5365 GB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.371, allocations: 64.94 kB / 0.5366 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-05/0.371, allocations: 132 kB / 0.5367 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.3736, allocations: 1.231 MB / 0.5379 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.3761, allocations: 1.489 MB / 0.5394 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/0.3812, allocations: 6.33 MB / 0.5456 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/0.3846, allocations: 431.4 kB / 0.546 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000442/0.3851, allocations: 378.7 kB / 0.5463 GB, free: 4.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (791): * Single equations (assignments): 786 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001329/0.3864, allocations: 0.6849 MB / 0.547 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.3869, allocations: 421.5 kB / 0.5474 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.3901, allocations: 2.237 MB / 0.5496 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.3902, allocations: 24 kB / 0.5496 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.3902, allocations: 4 kB / 0.5496 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3902, allocations: 15.91 kB / 0.5496 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.4013, allocations: 7.096 MB / 0.5566 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.4013, allocations: 12.12 kB / 0.5566 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.4022, allocations: 331.5 kB / 0.5569 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.4046, allocations: 1.016 MB / 0.5579 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.4047, allocations: 39.98 kB / 0.5579 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005825/0.4105, allocations: 5.641 MB / 0.5634 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.4105, allocations: 8 kB / 0.5634 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005289/0.4158, allocations: 3.469 MB / 0.5668 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.4169, allocations: 377.4 kB / 0.5672 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.4172, allocations: 32 kB / 0.5672 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/0.4182, allocations: 164.5 kB / 0.5674 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.4185, allocations: 136.6 kB / 0.5675 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.4186, allocations: 60.03 kB / 0.5676 GB, free: 14.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002837/0.4214, allocations: 1.66 MB / 0.5692 GB, free: 12.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4214, allocations: 0 / 0.5692 GB, free: 12.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004667/0.4261, allocations: 1.185 MB / 0.5703 GB, free: 11.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (153): * Single equations (assignments): 148 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004781/0.4266, allocations: 197.8 kB / 0.5705 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005204/0.4318, allocations: 3.437 MB / 0.5739 GB, free: 7.656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.4318, allocations: 0 / 0.5739 GB, free: 7.656 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.433, allocations: 0.9844 MB / 0.5749 GB, free: 6.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.4351, allocations: 468.7 kB / 0.5753 GB, free: 6.211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.4472, allocations: 8.32 MB / 0.5834 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.449, allocations: 1.336 MB / 0.5847 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002746/0.4518, allocations: 1.596 MB / 0.5863 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/0.4524, allocations: 252.5 kB / 0.5865 GB, free: 10.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.877e-06/0.4524, allocations: 0 / 0.5865 GB, free: 10.5 MB / 458.7 MB Notification: Performance of Templates: time 0.1956/0.6481, allocations: 40.39 MB / 0.626 GB, free: 137 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.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.501039084978402]