Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001317/0.001317, allocations: 84.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.007408/0.007408, allocations: 163.6 kB / 24.91 MB, free: 8.766 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.9394/0.9394, allocations: 177 MB / 205.2 MB, free: 5.082 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.671e-05, allocations: 6.312 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01536/0.01539, allocations: 12.74 MB / 286.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1341/0.1495, allocations: 4.922 MB / 291.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.1514, allocations: 105.1 kB / 291.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.1563, allocations: 4.404 MB / 295.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.1602, allocations: 2.245 MB / 297.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1619, allocations: 1.23 MB / 299.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005466/0.1674, allocations: 6.786 MB / 305.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.1708, allocations: 4.594 MB / 310.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.1744, allocations: 4.177 MB / 314.6 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.177, allocations: 3.056 MB / 317.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.1775, allocations: 0.5 MB / 318.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.179, allocations: 1.619 MB / 319.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.1804, allocations: 2.785 MB / 322.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.182, allocations: 1.755 MB / 324.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.1865, allocations: 6.09 MB / 330.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1865, allocations: 0 / 330.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1865, allocations: 0 / 330.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.1866, allocations: 0 / 330.4 MB, free: 6.777 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.005492/0.1921, allocations: 5.679 MB / 336.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1921, allocations: 15.98 kB / 336.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.1953, allocations: 1.419 MB / 337.6 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.1981, allocations: 2.598 MB / 340.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1982, allocations: 312.1 kB / 340.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.1987, allocations: 433.5 kB / 340.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005998/0.2047, allocations: 5.983 MB / 346.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.503e-05/0.2048, allocations: 51.53 kB / 346.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.2051, allocations: 191.8 kB / 347.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/0.2064, allocations: 1.818 MB / 348.9 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006119/0.2125, allocations: 3.077 MB / 352 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.241, allocations: 34.2 MB / 386.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/0.2467, allocations: 2.09 MB / 388.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.2474, allocations: 419.4 kB / 388.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006275/0.2536, allocations: 4.007 MB / 392.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.2537, allocations: 55.5 kB / 392.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 3.647e-06/0.2537, allocations: 0 / 392.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.02043/0.2741, allocations: 6.93 MB / 399.7 MB, free: 484 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.2742, allocations: 197.2 kB / 399.9 MB, free: 244 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.2767, allocations: 3.53 MB / 403.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.2769, allocations: 65.53 kB / 403.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.2782, allocations: 3.418 MB / 406.9 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.2787, allocations: 0.8139 MB / 407.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009745/0.2796, allocations: 1.263 MB / 409 MB, free: 7.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.2797, allocations: 301.1 kB / 409.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.2808, allocations: 0.7915 MB / 410 MB, free: 5.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.2835, allocations: 4.613 MB / 414.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/0.2874, allocations: 5.945 MB / 420.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-05/0.2875, allocations: 36 kB / 420.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.004629/0.2921, allocations: 4.481 MB / 425.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.2922, allocations: 71.88 kB / 425.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.438e-05/0.2922, allocations: 136 kB / 425.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.2931, allocations: 444.2 kB / 425.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.2956, allocations: 1.536 MB / 427.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.2981, allocations: 2.46 MB / 429.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/0.3024, allocations: 291.7 kB / 430 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.3029, allocations: 340 kB / 430.4 MB, free: 13.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 819 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.3045, allocations: 0.6534 MB / 431 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.305, allocations: 259.7 kB / 431.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.3065, allocations: 1.092 MB / 432.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.3065, allocations: 20 kB / 432.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3065, allocations: 8 kB / 432.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3065, allocations: 11.97 kB / 432.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.313, allocations: 5.133 MB / 437.5 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.313, allocations: 16 kB / 437.6 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.3137, allocations: 328.2 kB / 437.9 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.3145, allocations: 430.9 kB / 438.3 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/0.3146, allocations: 47.92 kB / 438.3 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.3162, allocations: 1.736 MB / 440.1 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.3162, allocations: 11.94 kB / 440.1 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.3183, allocations: 2.235 MB / 442.3 MB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.3187, allocations: 377.2 kB / 442.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.3189, allocations: 40 kB / 442.7 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.3196, allocations: 47.98 kB / 442.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3197, allocations: 156.4 kB / 442.9 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.3198, allocations: 52 kB / 443 MB, free: 472 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1273/0.4471, allocations: 1.327 MB / 444.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4471, allocations: 1.031 kB / 444.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004783/0.4518, allocations: 1.194 MB / 445.5 MB, free: 122.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005445/0.4524, allocations: 232 kB / 445.7 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.4568, allocations: 2.726 MB / 448.5 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002773/0.4571, allocations: 101.8 kB / 448.6 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4582, allocations: 0.6548 MB / 449.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.4619, allocations: 0.7634 MB / 450 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.4781, allocations: 8.963 MB / 458.9 MB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.48, allocations: 1.511 MB / 460.5 MB, free: 117.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001885/0.4819, allocations: 0.5565 MB / 461 MB, free: 117.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.4829, allocations: 0.6276 MB / 461.6 MB, free: 117.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4829, allocations: 3.828 kB / 461.6 MB, free: 117.5 MB / 394.7 MB Notification: Performance of Templates: time 0.05336/0.5363, allocations: 35.33 MB / 497 MB, free: 91.28 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.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: 3.8588363179005682]