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.0009517/0.0009517, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.00241, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007697/0.0007697, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001826, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9974/0.9974, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.088, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2523/0.2523, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02697/0.2793, allocations: 13.23 MB / 292.8 MB, free: 6.387 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.242e-06/1.242e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.38e-05, allocations: 2.969 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.009641/0.009655, allocations: 11.48 MB / 305.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.01632, allocations: 4.413 MB / 310 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.01707, allocations: 87.56 kB / 310.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.0197, allocations: 2.783 MB / 312.9 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.02253, allocations: 2.092 MB / 314.9 MB, free: 156 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.02375, allocations: 0.9317 MB / 315.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.02846, allocations: 5.882 MB / 321.8 MB, free: 9.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.03069, allocations: 3.038 MB / 324.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.03352, allocations: 3.408 MB / 328.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.03573, allocations: 2.677 MB / 330.9 MB, free: 128 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.03612, allocations: 396 kB / 331.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.03764, allocations: 1.389 MB / 332.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.03881, allocations: 2.097 MB / 334.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008859/0.0397, allocations: 1.165 MB / 335.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.04305, allocations: 4.885 MB / 340.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.04306, allocations: 4 kB / 340.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.04306, allocations: 3.938 kB / 340.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.04309, allocations: 0 / 340.8 MB, free: 6.168 MB / 330.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.005677/0.04877, allocations: 5.989 MB / 346.8 MB, free: 104 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.04882, allocations: 12.92 kB / 346.8 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.05197, allocations: 1.218 MB / 348 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.05453, allocations: 2.301 MB / 350.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.05465, allocations: 242.5 kB / 350.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.05504, allocations: 328.3 kB / 350.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.06014, allocations: 5.285 MB / 356.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.666e-05/0.06021, allocations: 55.56 kB / 356.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.06046, allocations: 159.9 kB / 356.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.06179, allocations: 1.686 MB / 358.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/0.06562, allocations: 2.8 MB / 360.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.0856, allocations: 32.12 MB / 393 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.08922, allocations: 1.761 MB / 394.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.08968, allocations: 393.2 kB / 395.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/0.09434, allocations: 4.18 MB / 399.3 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.09437, allocations: 51.5 kB / 399.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=163): time 3.606e-06/0.09438, allocations: 0 / 399.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=200): time 0.01706/0.1114, allocations: 7.597 MB / 407 MB, free: 1.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1115, allocations: 153.8 kB / 407.1 MB, free: 1.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.1141, allocations: 3.364 MB / 410.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.1142, allocations: 61.7 kB / 410.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.1154, allocations: 3.117 MB / 413.7 MB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.1158, allocations: 0.7868 MB / 414.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009659/0.1168, allocations: 1.22 MB / 415.7 MB, free: 9.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.1168, allocations: 301.1 kB / 416 MB, free: 8.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.1181, allocations: 0.8808 MB / 416.8 MB, free: 7.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.1207, allocations: 4.602 MB / 421.4 MB, free: 1.344 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.1255, allocations: 6.43 MB / 427.9 MB, free: 9.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.102e-05/0.1255, allocations: 36 kB / 427.9 MB, free: 8.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.005817/0.1314, allocations: 4.89 MB / 432.8 MB, free: 4.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.1314, allocations: 64 kB / 432.9 MB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.043e-05/0.1315, allocations: 140.1 kB / 433 MB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.1336, allocations: 0.9594 MB / 434 MB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.1362, allocations: 1.607 MB / 435.6 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1566/0.2928, allocations: 4.679 MB / 440.2 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.2961, allocations: 280.8 kB / 440.5 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.2964, allocations: 327.1 kB / 440.8 MB, free: 112.8 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.001253/0.2976, allocations: 0.6451 MB / 441.5 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.298, allocations: 244.2 kB / 441.7 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.3005, allocations: 1.655 MB / 443.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3005, allocations: 17.66 kB / 443.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3005, allocations: 6.438 kB / 443.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3005, allocations: 15.02 kB / 443.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.3068, allocations: 4.849 MB / 448.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.3068, allocations: 13.27 kB / 448.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008985/0.3077, allocations: 0.4975 MB / 448.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.308, allocations: 348.6 kB / 449.1 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.3097, allocations: 0.744 MB / 449.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.3098, allocations: 38.17 kB / 449.9 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.3129, allocations: 4.084 MB / 454 MB, free: 109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3129, allocations: 11.28 kB / 454 MB, free: 109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.3156, allocations: 2.554 MB / 456.5 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.3158, allocations: 35.47 kB / 456.6 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.3165, allocations: 43.17 kB / 456.6 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.3167, allocations: 138.5 kB / 456.7 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/0.3168, allocations: 50.5 kB / 456.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009121/0.3177, allocations: 1.259 MB / 458.1 MB, free: 107.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3177, allocations: 0 / 458.1 MB, free: 107.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002691/0.3204, allocations: 1.186 MB / 459.2 MB, free: 107.7 MB / 426.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.0003192/0.3207, allocations: 187.6 kB / 459.4 MB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.3232, allocations: 3.009 MB / 462.4 MB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001467/0.3234, allocations: 114.5 kB / 462.5 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.3245, allocations: 1.345 MB / 463.9 MB, free: 105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.3264, allocations: 3.097 MB / 467 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.3357, allocations: 8.343 MB / 475.3 MB, free: 93.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008469/0.3365, allocations: 1.326 MB / 476.7 MB, free: 92.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009497/0.3375, allocations: 0.5124 MB / 477.2 MB, free: 91.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/0.3382, allocations: 0.5792 MB / 477.8 MB, free: 91.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3382, allocations: 4 kB / 477.8 MB, free: 91.29 MB / 426.7 MB Notification: Performance of Templates: time 0.04506/0.3832, allocations: 41.99 MB / 0.5076 GB, free: 49.57 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7627480272203684]