Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 97.98 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007492/0.0007493, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2093, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003552/0.2129, allocations: 3.706 MB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.2147, allocations: 1.424 MB / 404.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2148, allocations: 8 kB / 404.6 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.2161, allocations: 0.7006 MB / 405.3 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.2169, allocations: 0.5034 MB / 405.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2175, allocations: 402 kB / 406.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2178, allocations: 450 kB / 406.6 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.2182, allocations: 354.2 kB / 407 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.2184, allocations: 187.3 kB / 407.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2186, allocations: 258.9 kB / 407.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.2187, allocations: 32 kB / 407.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.219, allocations: 203.8 kB / 407.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.219, allocations: 91.61 kB / 407.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2192, allocations: 226.8 kB / 408 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.2196, allocations: 0.6619 MB / 408.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2197, allocations: 0 / 408.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2197, allocations: 0 / 408.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2197, allocations: 0 / 408.6 MB, free: 24.18 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.001659/0.2213, allocations: 0.9053 MB / 409.5 MB, free: 23.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2214, allocations: 15.97 kB / 409.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.2244, allocations: 491.9 kB / 410 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.2247, allocations: 295.7 kB / 410.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2247, allocations: 41.69 kB / 410.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.2248, allocations: 52.38 kB / 410.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.2255, allocations: 0.5181 MB / 410.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2256, allocations: 0 / 410.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.2256, allocations: 28 kB / 411 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2256, allocations: 12 kB / 411 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.2264, allocations: 0.5634 MB / 411.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.2286, allocations: 1.869 MB / 413.4 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2301, allocations: 2.195 MB / 415.6 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.2304, allocations: 210.1 kB / 415.8 MB, free: 16.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.626e-05/0.2304, allocations: 93.52 kB / 415.9 MB, free: 16.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2305, allocations: 39 kB / 415.9 MB, free: 16.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.2305, allocations: 0 / 415.9 MB, free: 16.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001644/0.2321, allocations: 0.7933 MB / 416.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.2321, allocations: 59.84 kB / 416.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2323, allocations: 182.9 kB / 417 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2323, allocations: 33.7 kB / 417 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2324, allocations: 224.3 kB / 417.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.2325, allocations: 157.7 kB / 417.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2326, allocations: 90.16 kB / 417.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.2326, allocations: 334.8 kB / 417.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.2329, allocations: 153 kB / 417.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.2332, allocations: 228.8 kB / 418.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.2337, allocations: 399.4 kB / 418.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2337, allocations: 0 / 418.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008341/0.2345, allocations: 0.5315 MB / 419.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2346, allocations: 4 kB / 419.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2346, allocations: 8.219 kB / 419.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.2349, allocations: 88.8 kB / 419.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.2352, allocations: 91.83 kB / 419.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.2366, allocations: 1.85 MB / 421.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.2369, allocations: 43.53 kB / 421.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.2369, allocations: 16 kB / 421.2 MB, free: 10.73 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.0001517/0.2371, allocations: 173.6 kB / 421.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.2371, allocations: 31.59 kB / 421.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009091/0.2381, allocations: 0.5435 MB / 421.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2381, allocations: 8 kB / 421.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2381, allocations: 0 / 421.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2381, allocations: 0 / 421.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.2394, allocations: 1.14 MB / 423.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2394, allocations: 0 / 423.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2397, allocations: 71.89 kB / 423.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.2399, allocations: 92.73 kB / 423.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.24, allocations: 15.94 kB / 423.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.2412, allocations: 1.831 MB / 425.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2412, allocations: 4 kB / 425.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.2432, allocations: 1.951 MB / 427 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.2433, allocations: 112.6 kB / 427.1 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.2433, allocations: 11.98 kB / 427.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2435, allocations: 20.22 kB / 427.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.2436, allocations: 36.38 kB / 427.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2436, allocations: 12 kB / 427.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.2437, allocations: 144.8 kB / 427.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2437, allocations: 0 / 427.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000549/0.2443, allocations: 159.6 kB / 427.5 MB, free: 4.012 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.0001687/0.2444, allocations: 139.9 kB / 427.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.2453, allocations: 0.5585 MB / 428.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2453, allocations: 8 kB / 428.2 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.2457, allocations: 384.9 kB / 428.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2461, allocations: 35.11 kB / 428.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2472, allocations: 1.266 MB / 429.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.2474, allocations: 0.8126 MB / 430.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.2476, allocations: 54.94 kB / 430.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.2477, allocations: 31.44 kB / 430.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2477, allocations: 0 / 430.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Templates: time 0.00743/0.2551, allocations: 4.261 MB / 435.1 MB, free: 12.39 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@2/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