Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 91.72 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 175.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001896/0.0001897, allocations: 7.984 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0703/0.0705, allocations: 50.4 MB / 352.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003334/0.07385, allocations: 3.539 MB / 356 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.07604, allocations: 1.546 MB / 357.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.07627, allocations: 12 kB / 357.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.07668, allocations: 179.2 kB / 357.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009569/0.07765, allocations: 0.4895 MB / 358.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.0785, allocations: 0.5054 MB / 358.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.07901, allocations: 0.498 MB / 359.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.0802, allocations: 0.8067 MB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.08044, allocations: 183.2 kB / 360.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.08069, allocations: 258.8 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.08075, allocations: 24 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.08109, allocations: 207.8 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.08116, allocations: 87.55 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.08134, allocations: 252.4 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.08186, allocations: 0.5924 MB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.08186, allocations: 0 / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08187, allocations: 0 / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.08189, allocations: 0 / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001916/0.08381, allocations: 0.8895 MB / 362.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.08384, allocations: 12.03 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.08635, allocations: 411.9 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.08678, allocations: 353.3 kB / 363.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.08682, allocations: 41.69 kB / 363.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.08692, allocations: 63.94 kB / 363.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.088, allocations: 0.7057 MB / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.08803, allocations: 0 / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.08809, allocations: 28 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.08812, allocations: 25.25 kB / 364.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.08928, allocations: 0.704 MB / 364.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.0922, allocations: 2.378 MB / 367.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.09349, allocations: 1.188 MB / 368.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.09389, allocations: 236.8 kB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.09397, allocations: 93.11 kB / 368.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.09401, allocations: 46.42 kB / 368.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.472e-06/0.09402, allocations: 0 / 368.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001616/0.09564, allocations: 0.8151 MB / 369.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.09569, allocations: 55.41 kB / 369.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.09593, allocations: 278.5 kB / 369.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.09597, allocations: 33.7 kB / 370 MB, free: 1.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.0961, allocations: 248.6 kB / 370.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.09621, allocations: 145.8 kB / 370.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.09627, allocations: 41.7 kB / 370.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.09638, allocations: 342.8 kB / 370.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.09675, allocations: 193 kB / 370.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.09718, allocations: 306.4 kB / 371.2 MB, free: 380 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1214/0.2186, allocations: 0.5053 MB / 371.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2186, allocations: 2.062 kB / 371.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001153/0.2198, allocations: 0.6134 MB / 372.3 MB, free: 24.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.2199, allocations: 184.1 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2199, allocations: 4.891 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.2201, allocations: 59.5 kB / 372.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.2205, allocations: 110.7 kB / 372.7 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/0.2215, allocations: 1.584 MB / 374.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.2218, allocations: 61.22 kB / 374.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.2219, allocations: 25.55 kB / 374.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/0.2219, allocations: 4.25 kB / 374.4 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009287/0.2228, allocations: 0.5569 MB / 374.9 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2228, allocations: 7.359 kB / 374.9 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.223, allocations: 50.17 kB / 375 MB, free: 22.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.2233, allocations: 110.2 kB / 375.1 MB, free: 22.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008571/0.2242, allocations: 1.51 MB / 376.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.2245, allocations: 47.2 kB / 376.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2245, allocations: 29.17 kB / 376.7 MB, free: 21.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (53): * Single equations (assignments): 52 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.2247, allocations: 254.6 kB / 376.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.2248, allocations: 35.25 kB / 376.9 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2258, allocations: 0.602 MB / 377.5 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2258, allocations: 9.438 kB / 377.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2259, allocations: 2.969 kB / 377.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2259, allocations: 0.8906 kB / 377.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2274, allocations: 1.236 MB / 378.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2274, allocations: 0 / 378.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.2277, allocations: 85.62 kB / 378.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.2279, allocations: 55.92 kB / 378.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2279, allocations: 16.69 kB / 378.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008626/0.2288, allocations: 1.583 MB / 380.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2288, allocations: 1.938 kB / 380.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2301, allocations: 0.905 MB / 381.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.2302, allocations: 148.6 kB / 381.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.2302, allocations: 6.641 kB / 381.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2305, allocations: 26.77 kB / 381.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.2306, allocations: 39.84 kB / 381.7 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2306, allocations: 18.08 kB / 381.7 MB, free: 17.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.2308, allocations: 193.5 kB / 381.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2308, allocations: 1.406 kB / 381.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.2315, allocations: 243.6 kB / 382.1 MB, free: 17.76 MB / 302.1 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.2317, allocations: 137.2 kB / 382.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.2331, allocations: 1.03 MB / 383.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2331, allocations: 0 / 383.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.2336, allocations: 388.8 kB / 383.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.234, allocations: 46.28 kB / 383.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2352, allocations: 1.198 MB / 384.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2354, allocations: 0.822 MB / 385.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2356, allocations: 53.42 kB / 385.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2356, allocations: 0 / 385.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Templates: time 0.009196/0.2448, allocations: 8.03 MB / 393.8 MB, free: 12.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches