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.0009726/0.0009726, allocations: 88.86 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.0009398/0.0009398, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.936/0.936, allocations: 177 MB / 205.2 MB, free: 5.035 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.2786/0.2786, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.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.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.103e-05, allocations: 2.312 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.008585/0.008606, allocations: 11.35 MB / 337.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.01593, allocations: 4.372 MB / 341.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.01746, allocations: 91.5 kB / 341.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.02071, allocations: 2.931 MB / 344.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.02453, allocations: 2.127 MB / 346.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02596, allocations: 1.029 MB / 347.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0057/0.03166, allocations: 6.391 MB / 354.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003712/0.03537, allocations: 3.514 MB / 357.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/0.04031, allocations: 3.602 MB / 361.3 MB, free: 3.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/0.0437, allocations: 2.701 MB / 364 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.0451, allocations: 396 kB / 364.4 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.04798, allocations: 1.346 MB / 365.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.0499, allocations: 2.357 MB / 368.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.0517, allocations: 1.449 MB / 369.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005899/0.0576, allocations: 5.337 MB / 374.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.05761, allocations: 0 / 374.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.05761, allocations: 0 / 374.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.05777, allocations: 0 / 374.9 MB, free: 5.984 MB / 346.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.006359/0.06413, allocations: 5.007 MB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.06417, allocations: 8.031 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.06741, allocations: 1.238 MB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.0706, allocations: 2.29 MB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.07076, allocations: 242.5 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005557/0.07132, allocations: 336.3 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007481/0.0788, allocations: 5.285 MB / 389.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.0789, allocations: 55.61 kB / 389.3 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.07924, allocations: 147.9 kB / 389.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.08124, allocations: 1.795 MB / 391.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006317/0.08755, allocations: 2.789 MB / 394.1 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03097/0.1185, allocations: 32.12 MB / 426.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007896/0.1264, allocations: 1.793 MB / 428 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.1271, allocations: 394.2 kB / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.1389, allocations: 4.192 MB / 432.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.139, allocations: 55.5 kB / 432.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 4.138e-06/0.139, allocations: 0 / 432.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.02108/0.1601, allocations: 7.649 MB / 440.2 MB, free: 2.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.1601, allocations: 201.2 kB / 440.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1507/0.3108, allocations: 3.368 MB / 443.8 MB, free: 98.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003553/0.3112, allocations: 54.39 kB / 443.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.3125, allocations: 3.124 MB / 447 MB, free: 96.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.3131, allocations: 0.7863 MB / 447.8 MB, free: 96.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000901/0.314, allocations: 1.217 MB / 449 MB, free: 96.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.314, allocations: 301.1 kB / 449.3 MB, free: 96.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3152, allocations: 0.8825 MB / 450.2 MB, free: 96.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.3172, allocations: 4.603 MB / 454.8 MB, free: 91.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.3206, allocations: 5.984 MB / 460.8 MB, free: 86.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.123e-05/0.3207, allocations: 38.09 kB / 460.8 MB, free: 86.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.006074/0.3267, allocations: 4.897 MB / 465.7 MB, free: 85.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.3268, allocations: 65.16 kB / 465.8 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.3269, allocations: 133.9 kB / 465.9 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.329, allocations: 0.9492 MB / 466.8 MB, free: 85.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.3312, allocations: 1.436 MB / 468.3 MB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/0.3354, allocations: 4.681 MB / 473 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.3383, allocations: 277.1 kB / 473.2 MB, free: 82.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.3386, allocations: 335.3 kB / 473.6 MB, free: 81.95 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.001194/0.3398, allocations: 0.634 MB / 474.2 MB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.3403, allocations: 251.8 kB / 474.4 MB, free: 81.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.3427, allocations: 1.656 MB / 476.1 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.3427, allocations: 20 kB / 476.1 MB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3427, allocations: 6.938 kB / 476.1 MB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3427, allocations: 11.12 kB / 476.1 MB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.3493, allocations: 4.858 MB / 481 MB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3493, allocations: 5.969 kB / 481 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.3499, allocations: 280.7 kB / 481.3 MB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.3518, allocations: 0.9108 MB / 482.2 MB, free: 75.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/0.3519, allocations: 43.88 kB / 482.2 MB, free: 75.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.355, allocations: 4.088 MB / 486.3 MB, free: 71.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.355, allocations: 8 kB / 486.3 MB, free: 71.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.358, allocations: 2.536 MB / 488.8 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006272/0.3587, allocations: 351 kB / 489.2 MB, free: 68.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.359, allocations: 36 kB / 489.2 MB, free: 68.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.3597, allocations: 43.98 kB / 489.3 MB, free: 68.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.3599, allocations: 135.4 kB / 489.4 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.36, allocations: 47.98 kB / 489.4 MB, free: 68.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001338/0.3614, allocations: 1.252 MB / 490.7 MB, free: 67.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3614, allocations: 0 / 490.7 MB, free: 67.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004529/0.3659, allocations: 1.186 MB / 491.9 MB, free: 66.03 MB / 410.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.0003979/0.3663, allocations: 186.7 kB / 492.1 MB, free: 65.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003912/0.3702, allocations: 2.886 MB / 495 MB, free: 63.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001737/0.3704, allocations: 100.2 kB / 495.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009656/0.3714, allocations: 0.7597 MB / 495.8 MB, free: 62.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.3741, allocations: 0.6659 MB / 496.5 MB, free: 61.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.385, allocations: 8.156 MB / 0.4928 GB, free: 53.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.3863, allocations: 1.321 MB / 0.4941 GB, free: 51.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001673/0.388, allocations: 0.5281 MB / 0.4946 GB, free: 51.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.3891, allocations: 0.5857 MB / 0.4952 GB, free: 50.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3891, allocations: 0 / 0.4952 GB, free: 50.81 MB / 410.7 MB Notification: Performance of Templates: time 0.05879/0.4478, allocations: 42.25 MB / 0.5364 GB, free: 8.977 MB / 410.7 MB " [Timeout remaining time 660] 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 -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.187789812218398]