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.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 186.3 kB / 16.71 MB, free: 4.961 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.267/1.267, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.0007183/0.0007183, allocations: 88.77 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002125, allocations: 11.92 kB / 354.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1888, allocations: 50.4 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002432/0.1913, allocations: 3.154 MB / 407.7 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1928, allocations: 2.106 MB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1929, allocations: 11.94 kB / 409.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1932, allocations: 162.8 kB / 410 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008103/0.1941, allocations: 0.8539 MB / 410.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.1946, allocations: 0.7716 MB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1949, allocations: 442 kB / 412.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1959, allocations: 1.217 MB / 413.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1961, allocations: 183.1 kB / 413.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1963, allocations: 231 kB / 413.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1963, allocations: 20 kB / 413.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.1966, allocations: 179.9 kB / 413.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.1966, allocations: 79.55 kB / 414 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1968, allocations: 236.5 kB / 414.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1972, allocations: 0.654 MB / 414.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1972, allocations: 0 / 414.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1972, allocations: 0 / 414.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1972, allocations: 0 / 414.8 MB, free: 20.55 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.001461/0.1987, allocations: 0.82 MB / 415.7 MB, free: 19.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.1987, allocations: 12.02 kB / 415.7 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.2018, allocations: 499.9 kB / 416.2 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2021, allocations: 307.6 kB / 416.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.2021, allocations: 41.69 kB / 416.5 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2022, allocations: 52.38 kB / 416.6 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.2029, allocations: 0.5337 MB / 417.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2029, allocations: 7.906 kB / 417.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.203, allocations: 20 kB / 417.1 MB, free: 18.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.203, allocations: 12 kB / 417.1 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.2038, allocations: 0.5869 MB / 417.7 MB, free: 17.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.2058, allocations: 1.875 MB / 419.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.2071, allocations: 2.171 MB / 421.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.2075, allocations: 270 kB / 422 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.2075, allocations: 89.55 kB / 422.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2076, allocations: 38.98 kB / 422.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.412e-06/0.2076, allocations: 4 kB / 422.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001408/0.209, allocations: 0.7504 MB / 422.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.209, allocations: 55.84 kB / 423 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2091, allocations: 191.9 kB / 423.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2091, allocations: 29.7 kB / 423.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2092, allocations: 224.4 kB / 423.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.2093, allocations: 153.8 kB / 423.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.2093, allocations: 4 kB / 423.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.2094, allocations: 338.8 kB / 423.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2096, allocations: 153 kB / 424 MB, free: 10.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.2099, allocations: 242.6 kB / 424.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.2104, allocations: 432.8 kB / 424.7 MB, free: 9.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2104, allocations: 0 / 424.7 MB, free: 9.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007761/0.2112, allocations: 0.5509 MB / 425.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2112, allocations: 4 kB / 425.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2112, allocations: 4.281 kB / 425.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.2115, allocations: 80.81 kB / 425.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.2118, allocations: 99.88 kB / 425.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.2129, allocations: 1.648 MB / 427.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.2132, allocations: 47.59 kB / 427.1 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.2132, allocations: 16 kB / 427.1 MB, free: 7.367 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.2133, allocations: 173.6 kB / 427.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.2134, allocations: 27.62 kB / 427.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.2142, allocations: 0.5512 MB / 427.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2142, allocations: 8 kB / 427.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2143, allocations: 4 kB / 427.9 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2143, allocations: 3.984 kB / 427.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.2155, allocations: 1.153 MB / 429.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2155, allocations: 8.047 kB / 429.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2158, allocations: 79.91 kB / 429.1 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.216, allocations: 76.8 kB / 429.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2161, allocations: 15.94 kB / 429.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2171, allocations: 1.636 MB / 430.9 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2171, allocations: 4.094 kB / 430.9 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.2181, allocations: 0.814 MB / 431.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.2181, allocations: 112.7 kB / 431.8 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.2182, allocations: 12 kB / 431.8 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2184, allocations: 24.05 kB / 431.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.2185, allocations: 36.39 kB / 431.9 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.2185, allocations: 12 kB / 431.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.169e-05/0.2186, allocations: 137.2 kB / 432 MB, free: 2.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2186, allocations: 0 / 432 MB, free: 2.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.2189, allocations: 139.6 kB / 432.1 MB, free: 2.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.2191, allocations: 147.2 kB / 432.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007668/0.2199, allocations: 0.5737 MB / 432.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2199, allocations: 0 / 432.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.2203, allocations: 381.8 kB / 433.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2207, allocations: 35.84 kB / 433.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.2217, allocations: 1.077 MB / 434.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.222, allocations: 0.8048 MB / 435.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.2222, allocations: 50.95 kB / 435.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.2223, allocations: 31.44 kB / 435.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2223, allocations: 0 / 435.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.007151/0.2295, allocations: 4.002 MB / 439.2 MB, free: 10.91 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches