Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 108.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 50.45 kB / 300.6 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 49.44 MB / 350.1 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.01231/0.1973, allocations: 5.186 MB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.2147, allocations: 6.77 MB / 362 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.2166, allocations: 35.75 kB / 362 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.2194, allocations: 453.5 kB / 362.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.2255, allocations: 0.6717 MB / 363.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.2282, allocations: 323 kB / 363.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006455/0.2347, allocations: 1.961 MB / 365.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007467/0.2356, allocations: 159.5 kB / 365.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.2368, allocations: 326.2 kB / 365.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009031/0.2377, allocations: 341.6 kB / 366.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.238, allocations: 23.94 kB / 366.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.241, allocations: 483.5 kB / 366.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.2414, allocations: 107.2 kB / 366.8 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2426, allocations: 433 kB / 367.3 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.2452, allocations: 0.9235 MB / 368.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2452, allocations: 0 / 368.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2452, allocations: 0 / 368.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.178e-05/0.2453, allocations: 0 / 368.2 MB, free: 2.664 MB / 302.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.004492/0.2498, allocations: 1.444 MB / 369.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.85e-05/0.2499, allocations: 8.031 kB / 369.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.2503, allocations: 138.3 kB / 369.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.2527, allocations: 0.8464 MB / 370.6 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.2528, allocations: 16.44 kB / 370.6 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2529, allocations: 24 kB / 370.7 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3131/0.5661, allocations: 300.6 kB / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.5662, allocations: 0 / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.5664, allocations: 11 kB / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.5665, allocations: 5.125 kB / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.5677, allocations: 224.1 kB / 371.2 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.5723, allocations: 1.129 MB / 372.3 MB, free: 25.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/0.5731, allocations: 241.9 kB / 372.6 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009911/0.5742, allocations: 296 kB / 372.8 MB, free: 25.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.5757, allocations: 0.7531 MB / 373.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.5757, allocations: 38.91 kB / 373.6 MB, free: 24.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 4.448e-06/0.5758, allocations: 0 / 373.6 MB, free: 24.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.005937/0.5817, allocations: 1.558 MB / 375.2 MB, free: 23.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.5818, allocations: 113.7 kB / 375.3 MB, free: 23.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.585, allocations: 0.9298 MB / 376.2 MB, free: 23.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.5851, allocations: 31.64 kB / 376.3 MB, free: 23.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.5856, allocations: 362.4 kB / 376.6 MB, free: 23.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.5859, allocations: 127.4 kB / 376.7 MB, free: 23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.5863, allocations: 122.2 kB / 376.9 MB, free: 22.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5865, allocations: 322.5 kB / 377.2 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.587, allocations: 120.9 kB / 377.3 MB, free: 22.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/0.5876, allocations: 156 kB / 377.4 MB, free: 22.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.5903, allocations: 0.7309 MB / 378.2 MB, free: 22.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5903, allocations: 0 / 378.2 MB, free: 22.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002105/0.5924, allocations: 0.5592 MB / 378.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.5925, allocations: 37.02 kB / 378.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/0.5926, allocations: 19.8 kB / 378.8 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.593, allocations: 74.2 kB / 378.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.5934, allocations: 39.86 kB / 378.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.5964, allocations: 2.998 MB / 381.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.5972, allocations: 10.31 kB / 381.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5973, allocations: 25.5 kB / 381.9 MB, free: 18.88 MB / 302.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.0007925/0.5981, allocations: 256.3 kB / 382.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/0.5986, allocations: 128.2 kB / 382.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.6018, allocations: 0.6712 MB / 383 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6018, allocations: 4.172 kB / 383 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.6018, allocations: 0 / 383 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6019, allocations: 4.25 kB / 383 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.6041, allocations: 0.6114 MB / 383.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.419e-05/0.6042, allocations: 17.45 kB / 383.6 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.6046, allocations: 37.92 kB / 383.7 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.605, allocations: 68.27 kB / 383.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.6051, allocations: 20.55 kB / 383.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.6088, allocations: 2.989 MB / 386.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6089, allocations: 0.6562 kB / 386.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.6122, allocations: 0.8588 MB / 387.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.6133, allocations: 276.1 kB / 387.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/0.6137, allocations: 7.5 kB / 387.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/0.6145, allocations: 11.59 kB / 387.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.6148, allocations: 30.44 kB / 387.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6149, allocations: 18.38 kB / 387.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.6173, allocations: 0.6298 MB / 388.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6173, allocations: 0 / 388.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002231/0.6196, allocations: 223.5 kB / 388.8 MB, free: 14.02 MB / 302.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.001361/0.6209, allocations: 298.1 kB / 389.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00243/0.6234, allocations: 0.7849 MB / 389.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6234, allocations: 0 / 389.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.6247, allocations: 0.6202 MB / 390.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.6266, allocations: 114.7 kB / 390.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.6326, allocations: 1.961 MB / 392.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.6338, allocations: 0.9993 MB / 393.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6341, allocations: 49.61 kB / 393.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of SimCode: time 1.634e-06/0.6342, allocations: 0 / 393.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Templates: time 0.04421/0.6784, allocations: 17.31 MB / 410.9 MB, free: 13.46 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches