Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008434/0.0008438, allocations: 183.2 kB / 16.71 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007381/0.0007383, allocations: 96.75 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002077/0.0002077, allocations: 11.94 kB / 354.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1775, allocations: 50.4 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.002562/0.1802, allocations: 3.154 MB / 407.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.182, allocations: 2.113 MB / 409.8 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1822, allocations: 8 kB / 409.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1825, allocations: 159.9 kB / 410 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000871/0.1834, allocations: 0.8578 MB / 410.9 MB, free: 24.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.184, allocations: 0.7714 MB / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.1843, allocations: 438 kB / 412.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.1853, allocations: 1.15 MB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1855, allocations: 179.2 kB / 413.4 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1857, allocations: 226.9 kB / 413.6 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1857, allocations: 24 kB / 413.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.186, allocations: 179.8 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1861, allocations: 79.61 kB / 413.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1862, allocations: 228.6 kB / 414.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.1867, allocations: 0.6383 MB / 414.7 MB, free: 20.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1867, allocations: 0 / 414.7 MB, free: 20.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1867, allocations: 4 kB / 414.7 MB, free: 20.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1867, allocations: 0 / 414.7 MB, free: 20.59 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001505/0.1882, allocations: 0.8234 MB / 415.6 MB, free: 19.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1882, allocations: 8.031 kB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.1912, allocations: 499.9 kB / 416.1 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1915, allocations: 311.6 kB / 416.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1916, allocations: 37.69 kB / 416.4 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.1916, allocations: 56.38 kB / 416.5 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.1924, allocations: 0.5064 MB / 417 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.1924, allocations: 19.89 kB / 417 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.1925, allocations: 20 kB / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1925, allocations: 12 kB / 417 MB, free: 18.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.1933, allocations: 0.5712 MB / 417.6 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1954, allocations: 1.877 MB / 419.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.1969, allocations: 2.191 MB / 421.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1971, allocations: 214.1 kB / 421.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.1972, allocations: 89.53 kB / 422 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.1972, allocations: 38.94 kB / 422 MB, free: 12.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.1973, allocations: 4 kB / 422 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001541/0.1988, allocations: 0.8012 MB / 422.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.1988, allocations: 59.84 kB / 422.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.199, allocations: 189.5 kB / 423 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.199, allocations: 29.7 kB / 423.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.199, allocations: 224.5 kB / 423.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.1991, allocations: 161.7 kB / 423.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.1992, allocations: 12 kB / 423.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.1992, allocations: 334.8 kB / 423.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1994, allocations: 153 kB / 423.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1997, allocations: 236.8 kB / 424.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.2002, allocations: 403.5 kB / 424.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2002, allocations: 11.94 kB / 424.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007602/0.201, allocations: 0.5318 MB / 425.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.201, allocations: 11.94 kB / 425.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.201, allocations: 0 / 425.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.2013, allocations: 96.73 kB / 425.2 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.2016, allocations: 91.89 kB / 425.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.2029, allocations: 1.846 MB / 427.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2032, allocations: 51.52 kB / 427.2 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2032, allocations: 16 kB / 427.2 MB, free: 7.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.2033, allocations: 174.8 kB / 427.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2034, allocations: 27.66 kB / 427.4 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.2042, allocations: 0.5512 MB / 428 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2043, allocations: 8 kB / 428 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2043, allocations: 0 / 428 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2043, allocations: 3.984 kB / 428 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.2055, allocations: 1.14 MB / 429.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2055, allocations: 0 / 429.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.2058, allocations: 71.91 kB / 429.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.206, allocations: 96.8 kB / 429.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2061, allocations: 7.938 kB / 429.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.2072, allocations: 1.839 MB / 431.1 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2073, allocations: 8.047 kB / 431.1 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.2083, allocations: 0.7999 MB / 431.9 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2083, allocations: 116.6 kB / 432 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.2084, allocations: 12 kB / 432.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2086, allocations: 15.98 kB / 432.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.2086, allocations: 40.45 kB / 432.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.2087, allocations: 15.94 kB / 432.1 MB, free: 2.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.2087, allocations: 136.9 kB / 432.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2087, allocations: 0 / 432.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.2092, allocations: 159.5 kB / 432.4 MB, free: 1.773 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.2094, allocations: 143.2 kB / 432.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.2101, allocations: 0.562 MB / 433.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2102, allocations: 4 kB / 433.1 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.2106, allocations: 393.3 kB / 433.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2109, allocations: 28 kB / 433.5 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.212, allocations: 1.046 MB / 434.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2124, allocations: 0.8048 MB / 435.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.2126, allocations: 46.95 kB / 435.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.2127, allocations: 35.42 kB / 435.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2127, allocations: 7.938 kB / 435.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of Templates: time 0.007254/0.2199, allocations: 4.021 MB / 439.5 MB, free: 10.61 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches