Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 178 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007442/0.0007444, allocations: 86.22 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2003, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003574/0.2039, allocations: 4.506 MB / 381.1 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.2105, allocations: 8.225 MB / 389.3 MB, free: 34.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.2111, allocations: 34.5 kB / 389.4 MB, free: 34.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.2122, allocations: 469.1 kB / 389.8 MB, free: 34.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.214, allocations: 0.6623 MB / 390.5 MB, free: 33.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.2148, allocations: 336.4 kB / 390.8 MB, free: 33.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.217, allocations: 1.9 MB / 392.7 MB, free: 31.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.2173, allocations: 163.4 kB / 392.9 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2176, allocations: 314.3 kB / 393.2 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2178, allocations: 329.6 kB / 393.5 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.2179, allocations: 16 kB / 393.5 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.2187, allocations: 431.6 kB / 393.9 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.2188, allocations: 99.2 kB / 394 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.219, allocations: 454.8 kB / 394.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.22, allocations: 1.218 MB / 395.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.22, allocations: 0 / 395.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.22, allocations: 4 kB / 395.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.22, allocations: 0 / 395.7 MB, free: 28.88 MB / 298.7 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.001305/0.2213, allocations: 1.289 MB / 397 MB, free: 27.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2214, allocations: 8.031 kB / 397 MB, free: 27.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.2215, allocations: 126.4 kB / 397.1 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.2222, allocations: 0.8619 MB / 398 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2223, allocations: 12.44 kB / 398 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2223, allocations: 27.98 kB / 398 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.2227, allocations: 302.7 kB / 398.3 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2228, allocations: 0 / 398.3 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2228, allocations: 15.94 kB / 398.3 MB, free: 26.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2228, allocations: 4 kB / 398.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2231, allocations: 233.8 kB / 398.6 MB, free: 25.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2244, allocations: 1.123 MB / 399.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.2248, allocations: 242.5 kB / 399.9 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.2252, allocations: 300.8 kB / 400.2 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.2258, allocations: 0.7632 MB / 401 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2259, allocations: 42.56 kB / 401 MB, free: 23.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.623e-06/0.2259, allocations: 0 / 401 MB, free: 23.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002228/0.2281, allocations: 1.583 MB / 402.6 MB, free: 21.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2282, allocations: 122.7 kB / 402.7 MB, free: 21.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/0.2289, allocations: 0.9184 MB / 403.6 MB, free: 20.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2289, allocations: 29.7 kB / 403.7 MB, free: 20.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.2291, allocations: 357.5 kB / 404 MB, free: 20.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.2292, allocations: 134.1 kB / 404.1 MB, free: 19.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.2292, allocations: 4 kB / 404.2 MB, free: 19.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.2292, allocations: 321.9 kB / 404.5 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2295, allocations: 132.6 kB / 404.6 MB, free: 19.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2297, allocations: 163.6 kB / 404.8 MB, free: 19.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.2308, allocations: 0.7511 MB / 405.5 MB, free: 18.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2308, allocations: 0 / 405.5 MB, free: 18.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006938/0.2315, allocations: 0.5543 MB / 406.1 MB, free: 17.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.2315, allocations: 45.69 kB / 406.1 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.2316, allocations: 12.03 kB / 406.1 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.2318, allocations: 73.69 kB / 406.2 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.232, allocations: 43.97 kB / 406.2 MB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2336, allocations: 3 MB / 409.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2338, allocations: 12.03 kB / 409.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.2339, allocations: 20 kB / 409.3 MB, free: 14.48 MB / 298.7 MB Warning: Assuming fixed start value for the following 4 variables: D1.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 D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D2.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.0002792/0.2342, allocations: 256.1 kB / 409.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.2343, allocations: 126.5 kB / 409.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2354, allocations: 0.6763 MB / 410.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2354, allocations: 4 kB / 410.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2354, allocations: 3.938 kB / 410.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2354, allocations: 0 / 410.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.2359, allocations: 0.6121 MB / 410.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.2359, allocations: 19.98 kB / 411 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2361, allocations: 35.98 kB / 411 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.2363, allocations: 73.61 kB / 411.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2363, allocations: 15.98 kB / 411.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.2378, allocations: 2.989 MB / 414.1 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2378, allocations: 0 / 414.1 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2388, allocations: 0.8751 MB / 414.9 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.239, allocations: 283.5 kB / 415.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/0.2391, allocations: 11.94 kB / 415.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2394, allocations: 12 kB / 415.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.2395, allocations: 31.95 kB / 415.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2396, allocations: 16 kB / 415.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005397/0.2401, allocations: 0.6139 MB / 415.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.2401, allocations: 0 / 415.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000665/0.2408, allocations: 223.9 kB / 416.1 MB, free: 7.219 MB / 298.7 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.000426/0.2412, allocations: 313.8 kB / 416.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.242, allocations: 0.7807 MB / 417.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2421, allocations: 0 / 417.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.2425, allocations: 0.6285 MB / 417.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.243, allocations: 96.75 kB / 417.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.2447, allocations: 1.989 MB / 419.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.245, allocations: 1.004 MB / 420.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.2453, allocations: 89.64 kB / 421 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.2454, allocations: 51.42 kB / 421.1 MB, free: 2.082 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2454, allocations: 3.938 kB / 421.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of Templates: time 0.01459/0.26, allocations: 8.309 MB / 429.4 MB, free: 9.773 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches