Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.001355/0.001355, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001538/0.001538, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.88 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09723, allocations: 53.32 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.185/0.2822, allocations: 5.213 MB / 432.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.2893, allocations: 6.696 MB / 439 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.29, allocations: 41.06 kB / 439.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.2912, allocations: 0.4975 MB / 439.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.2936, allocations: 0.8226 MB / 440.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2949, allocations: 438.7 kB / 440.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.2977, allocations: 2.048 MB / 442.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.2979, allocations: 99.27 kB / 443 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.2984, allocations: 384 kB / 443.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.2987, allocations: 343.7 kB / 443.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.2988, allocations: 29.44 kB / 443.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3001, allocations: 0.493 MB / 444.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.3002, allocations: 111.4 kB / 444.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.3005, allocations: 449.7 kB / 444.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.302, allocations: 1.289 MB / 446.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.302, allocations: 0 / 446.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.302, allocations: 0 / 446.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.302, allocations: 5.125 kB / 446.1 MB, free: 2.277 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001789/0.3038, allocations: 1.49 MB / 447.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3038, allocations: 9.469 kB / 447.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.3041, allocations: 151.8 kB / 447.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.3051, allocations: 0.8563 MB / 448.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3051, allocations: 21.69 kB / 448.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.3052, allocations: 27.42 kB / 448.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.3056, allocations: 307.1 kB / 448.9 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3057, allocations: 5.5 kB / 448.9 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.3057, allocations: 9.375 kB / 448.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3057, allocations: 10.38 kB / 448.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.3061, allocations: 228 kB / 449.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.3078, allocations: 1.117 MB / 450.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3082, allocations: 218.6 kB / 450.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.3087, allocations: 266.4 kB / 450.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.3098, allocations: 0.8321 MB / 451.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3098, allocations: 36.84 kB / 451.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.963e-06/0.3098, allocations: 0 / 451.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003058/0.3129, allocations: 1.558 MB / 453.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.313, allocations: 122 kB / 453.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3141, allocations: 0.9352 MB / 454.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3141, allocations: 32.45 kB / 454.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.3144, allocations: 353.8 kB / 454.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3145, allocations: 137.7 kB / 454.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.3147, allocations: 119.5 kB / 454.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3149, allocations: 326.5 kB / 455.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3151, allocations: 124.7 kB / 455.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.3154, allocations: 159.9 kB / 455.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.3169, allocations: 0.7272 MB / 456.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3169, allocations: 4 kB / 456.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009766/0.3178, allocations: 0.5568 MB / 456.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.3179, allocations: 36.25 kB / 456.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.3179, allocations: 16.75 kB / 456.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.3181, allocations: 74.81 kB / 456.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3184, allocations: 43.78 kB / 456.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.3213, allocations: 3.328 MB / 460.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3217, allocations: 13.08 kB / 460.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.3217, allocations: 23.77 kB / 460.3 MB, free: 8.09 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.3221, allocations: 258.5 kB / 460.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3223, allocations: 135.5 kB / 460.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3237, allocations: 0.6745 MB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3237, allocations: 6.641 kB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3237, allocations: 2.312 kB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3237, allocations: 0.6875 kB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.3245, allocations: 0.6108 MB / 462 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/0.3245, allocations: 18.23 kB / 462 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.3247, allocations: 33.55 kB / 462 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.3249, allocations: 77.83 kB / 462.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.3249, allocations: 12.81 kB / 462.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.3277, allocations: 3.334 MB / 465.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3277, allocations: 0 / 465.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3291, allocations: 0.8504 MB / 466.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.3294, allocations: 278.9 kB / 466.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3296, allocations: 9.344 kB / 466.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3298, allocations: 12.66 kB / 466.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.3299, allocations: 41.89 kB / 466.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.33, allocations: 18.05 kB / 466.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008228/0.3308, allocations: 0.6288 MB / 467.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3308, allocations: 0 / 467.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000892/0.3317, allocations: 225.7 kB / 467.5 MB, free: 2.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006016/0.3323, allocations: 318.3 kB / 467.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3335, allocations: 0.7393 MB / 468.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3335, allocations: 1.344 kB / 468.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.3342, allocations: 0.5902 MB / 469.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.3349, allocations: 110.8 kB / 469.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3372, allocations: 1.617 MB / 470.8 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.3379, allocations: 1.001 MB / 471.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.3381, allocations: 95.39 kB / 471.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.3382, allocations: 51.11 kB / 472 MB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3382, allocations: 0 / 472 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01815/0.3564, allocations: 8.789 MB / 480.8 MB, free: 9.773 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",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.6731446366757154]