Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 197 kB / 17.43 MB, free: 4.25 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000842/0.000842, allocations: 94.06 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 8 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1846, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.002951/0.1876, allocations: 3.158 MB / 415.2 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1895, allocations: 2.385 MB / 417.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1897, allocations: 12 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.1901, allocations: 167.3 kB / 417.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007198/0.1908, allocations: 496.9 kB / 418.3 MB, free: 19.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.1917, allocations: 1.049 MB / 419.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.1919, allocations: 446 kB / 419.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.193, allocations: 1.149 MB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.1932, allocations: 179.2 kB / 421.1 MB, free: 16.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1934, allocations: 231 kB / 421.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1934, allocations: 20 kB / 421.3 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.1938, allocations: 183.8 kB / 421.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.1938, allocations: 83.61 kB / 421.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1939, allocations: 232.5 kB / 421.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.1944, allocations: 0.65 MB / 422.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1944, allocations: 0 / 422.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1944, allocations: 0 / 422.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1945, allocations: 0 / 422.5 MB, free: 14.93 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.001604/0.1961, allocations: 0.8157 MB / 423.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1961, allocations: 8.031 kB / 423.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.1994, allocations: 0.496 MB / 423.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1997, allocations: 299.6 kB / 424.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1997, allocations: 41.69 kB / 424.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.1998, allocations: 56.31 kB / 424.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.2005, allocations: 0.5142 MB / 424.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2006, allocations: 7.891 kB / 424.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.2006, allocations: 28 kB / 424.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2006, allocations: 12 kB / 424.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2015, allocations: 0.5673 MB / 425.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.2038, allocations: 1.956 MB / 427.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.2055, allocations: 2.19 MB / 429.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.2058, allocations: 215.3 kB / 429.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.453e-05/0.2059, allocations: 174.6 kB / 429.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2059, allocations: 39 kB / 429.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.2059, allocations: 0 / 429.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001661/0.2076, allocations: 0.8089 MB / 430.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.2076, allocations: 59.84 kB / 430.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2077, allocations: 185.5 kB / 430.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2078, allocations: 33.7 kB / 430.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.2079, allocations: 220.5 kB / 431.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.2079, allocations: 157.7 kB / 431.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.208, allocations: 12 kB / 431.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.208, allocations: 338.7 kB / 431.6 MB, free: 5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.2083, allocations: 161 kB / 431.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.2085, allocations: 228.8 kB / 432 MB, free: 4.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.2091, allocations: 411.5 kB / 432.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2091, allocations: 0 / 432.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008216/0.2099, allocations: 0.5434 MB / 433 MB, free: 3.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2099, allocations: 4 kB / 433 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.21, allocations: 4 kB / 433 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.2103, allocations: 92.73 kB / 433.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2106, allocations: 91.89 kB / 433.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2121, allocations: 1.85 MB / 435 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.2123, allocations: 51.64 kB / 435.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2123, allocations: 16 kB / 435.1 MB, free: 1.371 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.0001525/0.2125, allocations: 169.7 kB / 435.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.2126, allocations: 27.66 kB / 435.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.2135, allocations: 0.5512 MB / 435.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2135, allocations: 4 kB / 435.8 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2135, allocations: 0 / 435.8 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2135, allocations: 7.984 kB / 435.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.215, allocations: 1.141 MB / 437 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.215, allocations: 7.938 kB / 437 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.2154, allocations: 72.09 kB / 437.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.2156, allocations: 96.67 kB / 437.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2157, allocations: 11.94 kB / 437.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.2173, allocations: 1.835 MB / 439 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2174, allocations: 0 / 439 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2186, allocations: 0.8077 MB / 439.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.2187, allocations: 112.6 kB / 439.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.2188, allocations: 12 kB / 439.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.219, allocations: 20.06 kB / 439.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.2191, allocations: 36.38 kB / 440 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.2192, allocations: 12 kB / 440 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2193, allocations: 135.2 kB / 440.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2193, allocations: 0 / 440.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005235/0.2198, allocations: 147.6 kB / 440.3 MB, free: 11.93 MB / 314.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.0002184/0.22, allocations: 150 kB / 440.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009838/0.221, allocations: 0.5776 MB / 441 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.221, allocations: 448 / 441 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.2216, allocations: 388.9 kB / 441.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2219, allocations: 28.19 kB / 441.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2232, allocations: 1.057 MB / 442.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2236, allocations: 0.8087 MB / 443.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.2238, allocations: 46.97 kB / 443.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.2239, allocations: 35.42 kB / 443.3 MB, free: 8.77 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2239, allocations: 0 / 443.3 MB, free: 8.77 MB / 314.7 MB Notification: Performance of Templates: time 0.007652/0.2315, allocations: 4.063 MB / 447.4 MB, free: 4.707 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches