Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001407/0.001407, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001713/0.001713, allocations: 168.4 kB / 24.91 MB, free: 8.715 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.9617/0.9617, allocations: 177 MB / 205.2 MB, free: 4.418 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.1522/0.1522, allocations: 34.87 MB / 296.6 MB, free: 13.37 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 325.9 MB, free: 12 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.87e-05, allocations: 9.266 kB / 326 MB, free: 4 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0122/0.01223, allocations: 11.39 MB / 337.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.01989, allocations: 4.367 MB / 341.7 MB, free: 184 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.02095, allocations: 91.5 kB / 341.8 MB, free: 92 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.166/0.187, allocations: 2.874 MB / 344.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.1917, allocations: 2.108 MB / 346.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1933, allocations: 1.015 MB / 347.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00633/0.1997, allocations: 6.388 MB / 354.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.2029, allocations: 3.289 MB / 357.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.2065, allocations: 3.544 MB / 361 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.2087, allocations: 2.689 MB / 363.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005225/0.2092, allocations: 400 kB / 364.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.2108, allocations: 1.39 MB / 365.5 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.2118, allocations: 2.355 MB / 367.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.2129, allocations: 1.452 MB / 369.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.2162, allocations: 5.34 MB / 374.6 MB, free: 112 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2162, allocations: 0 / 374.6 MB, free: 112 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2162, allocations: 3.938 kB / 374.6 MB, free: 108 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.2163, allocations: 0 / 374.6 MB, free: 108 kB / 314.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.005112/0.2214, allocations: 5.004 MB / 379.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2214, allocations: 8.031 kB / 379.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.2245, allocations: 1.238 MB / 380.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.2271, allocations: 2.294 MB / 383.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.2272, allocations: 240.5 kB / 383.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.2277, allocations: 332.8 kB / 383.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.2334, allocations: 5.292 MB / 389 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.2335, allocations: 51.59 kB / 389.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.2338, allocations: 155.3 kB / 389.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001509/0.2353, allocations: 1.796 MB / 391 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.2401, allocations: 2.789 MB / 393.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.2655, allocations: 32.12 MB / 425.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.2691, allocations: 1.795 MB / 427.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.2696, allocations: 395.6 kB / 428.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005164/0.2747, allocations: 4.199 MB / 432.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.2748, allocations: 55.48 kB / 432.4 MB, free: 5.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=163): time 3.747e-06/0.2748, allocations: 0 / 432.4 MB, free: 5.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=200): time 0.01758/0.2924, allocations: 7.646 MB / 440 MB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.2924, allocations: 201.2 kB / 440.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.295, allocations: 3.375 MB / 443.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/0.2951, allocations: 53.7 kB / 443.6 MB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.2963, allocations: 3.121 MB / 446.8 MB, free: 7.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.2967, allocations: 0.7906 MB / 447.5 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/0.2977, allocations: 1.212 MB / 448.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.2978, allocations: 301.1 kB / 449.1 MB, free: 5.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.299, allocations: 0.8847 MB / 449.9 MB, free: 4.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.3018, allocations: 4.602 MB / 454.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/0.306, allocations: 5.986 MB / 460.5 MB, free: 5.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.059e-05/0.306, allocations: 40 kB / 460.6 MB, free: 5.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.006115/0.3121, allocations: 4.885 MB / 465.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.3122, allocations: 64 kB / 465.5 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-05/0.3123, allocations: 132 kB / 465.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.3146, allocations: 0.956 MB / 466.6 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.3171, allocations: 1.497 MB / 468.1 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.3218, allocations: 4.69 MB / 472.8 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.324, allocations: 275.7 kB / 473.1 MB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.3243, allocations: 328 kB / 473.4 MB, free: 8.812 MB / 426.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.001141/0.3254, allocations: 0.6459 MB / 474 MB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.3258, allocations: 243.7 kB / 474.3 MB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.3284, allocations: 1.651 MB / 475.9 MB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.3284, allocations: 31.94 kB / 475.9 MB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3284, allocations: 4 kB / 475.9 MB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3284, allocations: 11.91 kB / 476 MB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.3351, allocations: 4.859 MB / 480.8 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3351, allocations: 4.094 kB / 480.8 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.336, allocations: 490.5 kB / 481.3 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.3379, allocations: 0.7369 MB / 482 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.338, allocations: 35.98 kB / 482.1 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/0.3422, allocations: 4.091 MB / 486.2 MB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3422, allocations: 15.88 kB / 486.2 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.3455, allocations: 2.536 MB / 488.7 MB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.3459, allocations: 345.4 kB / 489.1 MB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.3462, allocations: 48.02 kB / 489.1 MB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.3468, allocations: 39.98 kB / 489.1 MB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.3471, allocations: 132.6 kB / 489.3 MB, free: 8.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.18e-05/0.3471, allocations: 44 kB / 489.3 MB, free: 8.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.3482, allocations: 1.265 MB / 490.6 MB, free: 7.176 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3482, allocations: 0 / 490.6 MB, free: 7.176 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003351/0.3515, allocations: 1.187 MB / 491.8 MB, free: 5.988 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.0003263/0.3519, allocations: 168 kB / 491.9 MB, free: 5.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.3551, allocations: 2.897 MB / 494.8 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001386/0.3553, allocations: 100.2 kB / 494.9 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.3561, allocations: 0.7586 MB / 495.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.3578, allocations: 0.6714 MB / 496.4 MB, free: 1.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/0.3664, allocations: 8.151 MB / 0.4927 GB, free: 9.059 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.3675, allocations: 1.336 MB / 0.494 GB, free: 7.703 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.3686, allocations: 0.5215 MB / 0.4945 GB, free: 7.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/0.3695, allocations: 0.5831 MB / 0.4951 GB, free: 6.594 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3695, allocations: 0 / 0.4951 GB, free: 6.594 MB / 458.7 MB Notification: Performance of Templates: time 0.1822/0.5517, allocations: 42.26 MB / 0.5363 GB, free: 126.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.202802579849958]