Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001128/0.001128, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.002968, 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.001138/0.001138, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002642, 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 1.072/1.072, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09547/1.168, allocations: 53.88 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.261/0.261, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.2875, allocations: 13.24 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.669e-05, allocations: 2.969 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01125/0.01128, allocations: 14.22 MB / 308.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.01856, allocations: 4.96 MB / 313.3 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008368/0.0194, allocations: 107.5 kB / 313.4 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.02243, allocations: 3.239 MB / 316.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.02562, allocations: 2.679 MB / 319.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.0267, allocations: 1.014 MB / 320.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.03216, allocations: 7.289 MB / 327.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.03476, allocations: 3.776 MB / 331.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00361/0.03837, allocations: 4.227 MB / 335.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.04125, allocations: 3.398 MB / 339 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.04182, allocations: 488 kB / 339.5 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.04356, allocations: 1.498 MB / 341 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.04508, allocations: 2.731 MB / 343.7 MB, free: 3.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.04631, allocations: 1.495 MB / 345.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.05064, allocations: 6.34 MB / 351.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.05065, allocations: 0 / 351.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05065, allocations: 0 / 351.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.05073, allocations: 0 / 351.5 MB, free: 11.38 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.00722/0.05795, allocations: 7.857 MB / 359.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.05799, allocations: 11.44 kB / 359.4 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.06256, allocations: 1.811 MB / 361.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.06572, allocations: 2.822 MB / 364 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.06587, allocations: 320.4 kB / 364.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/0.0664, allocations: 428.2 kB / 364.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.07875, allocations: 7.329 MB / 372.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.07892, allocations: 63.44 kB / 372.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007152/0.07963, allocations: 203.8 kB / 372.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/0.08238, allocations: 2.693 MB / 375.1 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.09328, allocations: 3.933 MB / 379 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/0.1408, allocations: 43.34 MB / 422.3 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.1468, allocations: 2.54 MB / 424.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.148, allocations: 0.7199 MB / 425.6 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.159, allocations: 6.612 MB / 432.2 MB, free: 7.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.1591, allocations: 64.55 kB / 432.3 MB, free: 7.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 7.303e-06/0.1591, allocations: 0 / 432.3 MB, free: 7.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=303): time 0.2172/0.3762, allocations: 10.21 MB / 442.5 MB, free: 121.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3763, allocations: 153.8 kB / 442.6 MB, free: 121.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.3808, allocations: 4.327 MB / 447 MB, free: 120.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004802/0.3813, allocations: 63.8 kB / 447 MB, free: 120.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.3832, allocations: 4.344 MB / 451.4 MB, free: 117.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.3846, allocations: 1.168 MB / 452.5 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.386, allocations: 1.663 MB / 454.2 MB, free: 116.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.3861, allocations: 305.7 kB / 454.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.3882, allocations: 1.268 MB / 455.8 MB, free: 116.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.3916, allocations: 6.262 MB / 462 MB, free: 109.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/0.3986, allocations: 8.819 MB / 470.8 MB, free: 102.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/0.3988, allocations: 53.38 kB / 470.9 MB, free: 102.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.009823/0.4086, allocations: 6.439 MB / 477.3 MB, free: 98.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.4087, allocations: 84 kB / 477.4 MB, free: 98.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.4088, allocations: 184 kB / 477.6 MB, free: 98.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.4107, allocations: 0.8334 MB / 478.4 MB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.4148, allocations: 2.218 MB / 480.6 MB, free: 95.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.4186, allocations: 4.377 MB / 485 MB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005249/0.4239, allocations: 367.7 kB / 485.4 MB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.4251, allocations: 447.9 kB / 485.8 MB, free: 90.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1108): * Single equations (assignments): 1100 * Array equations: 6 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002971/0.4281, allocations: 0.8311 MB / 486.7 MB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.4291, allocations: 327.7 kB / 487 MB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.4321, allocations: 2.128 MB / 489.1 MB, free: 86.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/0.4322, allocations: 47.92 kB / 489.1 MB, free: 86.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4322, allocations: 4 kB / 489.1 MB, free: 86.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4322, allocations: 15.95 kB / 489.2 MB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009569/0.4418, allocations: 6.356 MB / 495.5 MB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.4418, allocations: 12 kB / 495.5 MB, free: 80.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.4433, allocations: 0.7005 MB / 496.2 MB, free: 79.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/0.4443, allocations: 440.6 kB / 496.7 MB, free: 79.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.4457, allocations: 0.5749 MB / 497.2 MB, free: 78.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.4458, allocations: 54.06 kB / 497.3 MB, free: 78.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.4484, allocations: 3.427 MB / 0.489 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4484, allocations: 11.94 kB / 0.489 GB, free: 74.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/0.4522, allocations: 3.12 MB / 0.492 GB, free: 71.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/0.4532, allocations: 55.97 kB / 0.4921 GB, free: 71.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.4544, allocations: 48 kB / 0.4921 GB, free: 71.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.4547, allocations: 177.5 kB / 0.4923 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4548, allocations: 70.83 kB / 0.4924 GB, free: 71.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001475/0.4563, allocations: 1.583 MB / 0.4939 GB, free: 69.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4563, allocations: 0 / 0.4939 GB, free: 69.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005216/0.4615, allocations: 1.567 MB / 0.4955 GB, free: 68.08 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 (239): * Single equations (assignments): 231 * Array equations: 6 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000521/0.462, allocations: 203.4 kB / 0.4956 GB, free: 67.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005235/0.4672, allocations: 4.067 MB / 0.4996 GB, free: 63.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002815/0.4675, allocations: 151.4 kB / 0.4998 GB, free: 63.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.47, allocations: 1.802 MB / 0.5015 GB, free: 61.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/0.4731, allocations: 3.434 MB / 0.5049 GB, free: 58.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.4897, allocations: 11.59 MB / 0.5162 GB, free: 46.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.4916, allocations: 1.823 MB / 0.518 GB, free: 44.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002103/0.4937, allocations: 0.7045 MB / 0.5187 GB, free: 43.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.4949, allocations: 0.7276 MB / 0.5194 GB, free: 43.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.404e-06/0.4949, allocations: 3.938 kB / 0.5194 GB, free: 43 MB / 426.7 MB Notification: Performance of Templates: time 0.07028/0.5652, allocations: 50.04 MB / 0.5682 GB, free: 9.156 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.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: 4.0142511911690235]