Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001501/0.001501, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001624/0.001624, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 374.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09977, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2037/0.3035, allocations: 5.226 MB / 433.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.3101, allocations: 6.691 MB / 440 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.3106, allocations: 45.09 kB / 440 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.3118, allocations: 0.4949 MB / 440.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.3139, allocations: 0.8228 MB / 441.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3153, allocations: 446.4 kB / 441.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.3187, allocations: 2.045 MB / 443.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.3189, allocations: 103.3 kB / 443.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006854/0.3196, allocations: 375.3 kB / 444.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.32, allocations: 347.4 kB / 444.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.3201, allocations: 30.09 kB / 444.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3217, allocations: 0.4921 MB / 445.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3218, allocations: 115.2 kB / 445.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.3222, allocations: 446.5 kB / 445.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3241, allocations: 1.292 MB / 447 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3241, allocations: 1.516 kB / 447 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3241, allocations: 0 / 447 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3241, allocations: 0 / 447 MB, free: 2.105 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.001994/0.3261, allocations: 1.487 MB / 448.5 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3261, allocations: 13.83 kB / 448.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.3265, allocations: 150.7 kB / 448.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3275, allocations: 0.8655 MB / 449.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3276, allocations: 17.78 kB / 449.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.3276, allocations: 27.08 kB / 449.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3282, allocations: 305.4 kB / 449.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3282, allocations: 1.734 kB / 449.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.3282, allocations: 6.844 kB / 449.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3282, allocations: 6.594 kB / 449.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.3286, allocations: 227.4 kB / 450.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.3306, allocations: 1.114 MB / 451.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.3311, allocations: 220.3 kB / 451.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.3316, allocations: 270.3 kB / 451.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.3327, allocations: 0.8309 MB / 452.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3328, allocations: 37.95 kB / 452.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.625e-06/0.3328, allocations: 0 / 452.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003483/0.3363, allocations: 1.562 MB / 454.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.3364, allocations: 113.6 kB / 454.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.3377, allocations: 0.936 MB / 455.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.3377, allocations: 31.08 kB / 455.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.3381, allocations: 358.5 kB / 455.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3382, allocations: 137.2 kB / 455.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3384, allocations: 120.5 kB / 455.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3386, allocations: 325.2 kB / 456.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3389, allocations: 122.4 kB / 456.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3392, allocations: 158.7 kB / 456.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3407, allocations: 0.7304 MB / 457.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3407, allocations: 3.938 kB / 457.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001092/0.3418, allocations: 0.5643 MB / 457.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.3418, allocations: 36.98 kB / 457.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.3418, allocations: 16.89 kB / 457.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.3421, allocations: 67.47 kB / 457.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3424, allocations: 45.34 kB / 457.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.3454, allocations: 3.332 MB / 461.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.346, allocations: 16.5 kB / 461.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.3461, allocations: 20.45 kB / 461.2 MB, free: 7.91 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.0005218/0.3466, allocations: 262 kB / 461.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.3468, allocations: 130.5 kB / 461.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.3482, allocations: 0.6692 MB / 462.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3482, allocations: 3.672 kB / 462.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3482, allocations: 6.25 kB / 462.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3482, allocations: 1.734 kB / 462.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3493, allocations: 0.6131 MB / 462.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.3493, allocations: 15.38 kB / 462.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.3495, allocations: 38.2 kB / 462.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.3497, allocations: 67.55 kB / 463 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3497, allocations: 17.41 kB / 463 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.3526, allocations: 3.329 MB / 466.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3526, allocations: 1.375 kB / 466.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3542, allocations: 0.8513 MB / 467.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.3547, allocations: 277.8 kB / 467.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.3548, allocations: 8.797 kB / 467.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3551, allocations: 16.28 kB / 467.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3552, allocations: 37.03 kB / 467.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.3553, allocations: 19.05 kB / 467.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009236/0.3562, allocations: 0.6318 MB / 468.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 1.062 kB / 468.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3572, allocations: 226.6 kB / 468.4 MB, free: 2.629 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.000616/0.3578, allocations: 314.2 kB / 468.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3591, allocations: 0.7484 MB / 469.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3591, allocations: 0 / 469.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.3599, allocations: 0.5875 MB / 470 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.3605, allocations: 113.9 kB / 470.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3631, allocations: 1.65 MB / 471.8 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.3638, allocations: 1.004 MB / 472.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3639, allocations: 55.86 kB / 472.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3639, allocations: 0 / 472.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02395/0.3879, allocations: 17.45 MB / 490.3 MB, free: 0.9297 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.147669073892757]