Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009663/0.0009661, allocations: 102.7 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009505/0.0009506, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1932, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003729/0.1969, allocations: 3.967 MB / 411 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.199, allocations: 1.613 MB / 412.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1992, allocations: 15.94 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.2008, allocations: 0.7278 MB / 413.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007175/0.2015, allocations: 330.6 kB / 413.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.2025, allocations: 0.655 MB / 414.4 MB, free: 20.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.2029, allocations: 0.5058 MB / 414.9 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.2035, allocations: 428 kB / 415.3 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2037, allocations: 235 kB / 415.5 MB, free: 19.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.2039, allocations: 286.8 kB / 415.8 MB, free: 19.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.204, allocations: 39.98 kB / 415.8 MB, free: 19.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.2043, allocations: 235.8 kB / 416.1 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.2044, allocations: 107.6 kB / 416.2 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2045, allocations: 254.6 kB / 416.4 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.2051, allocations: 0.7905 MB / 417.2 MB, free: 17.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2052, allocations: 0 / 417.2 MB, free: 17.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2052, allocations: 0 / 417.2 MB, free: 17.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2052, allocations: 0 / 417.2 MB, free: 17.63 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001974/0.2072, allocations: 0.9948 MB / 418.2 MB, free: 16.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2072, allocations: 8.031 kB / 418.2 MB, free: 16.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.2098, allocations: 411.9 kB / 418.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.2102, allocations: 352.4 kB / 419 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2103, allocations: 49.62 kB / 419 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.2104, allocations: 71.92 kB / 419.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009969/0.2114, allocations: 0.7017 MB / 419.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2114, allocations: 0 / 419.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.2115, allocations: 24 kB / 419.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2115, allocations: 29.25 kB / 419.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2126, allocations: 0.6923 MB / 420.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.2153, allocations: 2.43 MB / 422.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.2164, allocations: 1.195 MB / 424.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.2168, allocations: 236.7 kB / 424.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.217, allocations: 166.2 kB / 424.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.217, allocations: 38.56 kB / 424.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.217, allocations: 0 / 424.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001594/0.2186, allocations: 0.8034 MB / 425.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2186, allocations: 55.41 kB / 425.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2188, allocations: 274.5 kB / 425.7 MB, free: 8.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2189, allocations: 33.7 kB / 425.7 MB, free: 8.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.2189, allocations: 248.6 kB / 426 MB, free: 8.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.219, allocations: 149.8 kB / 426.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.2191, allocations: 86.25 kB / 426.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.2192, allocations: 354.7 kB / 426.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.2195, allocations: 187 kB / 426.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.2199, allocations: 306.3 kB / 427 MB, free: 7.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.2206, allocations: 0.5007 MB / 427.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2206, allocations: 0 / 427.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009965/0.2216, allocations: 0.6026 MB / 428.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2217, allocations: 10.34 kB / 428.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2217, allocations: 4 kB / 428.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.2219, allocations: 53.23 kB / 428.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.2223, allocations: 107.9 kB / 428.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.2233, allocations: 1.593 MB / 429.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2236, allocations: 55.47 kB / 430 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.2237, allocations: 27.98 kB / 430 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003879/0.2241, allocations: 305.2 kB / 430.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003335/0.2244, allocations: 295.5 kB / 430.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006494/0.2251, allocations: 0.4925 MB / 431.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.2251, allocations: 0 / 431.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009097/0.226, allocations: 0.591 MB / 431.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.226, allocations: 8 kB / 431.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.226, allocations: 0 / 431.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.2262, allocations: 61.17 kB / 431.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.2266, allocations: 111.8 kB / 431.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000895/0.2275, allocations: 1.588 MB / 433.4 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.2277, allocations: 39.67 kB / 433.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.2278, allocations: 20 kB / 433.5 MB, free: 320 kB / 298.7 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.0001035/0.2279, allocations: 217 kB / 433.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.228, allocations: 31.62 kB / 433.7 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2292, allocations: 0.5903 MB / 434.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2292, allocations: 4 kB / 434.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2292, allocations: 4 kB / 434.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2292, allocations: 0 / 434.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.231, allocations: 1.237 MB / 435.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.231, allocations: 7.875 kB / 435.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.2314, allocations: 79.89 kB / 435.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.2316, allocations: 56.83 kB / 435.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.2317, allocations: 15.98 kB / 435.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.2329, allocations: 1.578 MB / 437.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2329, allocations: 7.922 kB / 437.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.2359, allocations: 2.197 MB / 439.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2361, allocations: 144.6 kB / 439.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2361, allocations: 8 kB / 439.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2364, allocations: 15.98 kB / 439.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.2365, allocations: 40.38 kB / 439.7 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2365, allocations: 19.94 kB / 439.7 MB, free: 9.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2367, allocations: 194 kB / 439.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2367, allocations: 4 kB / 439.9 MB, free: 9.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009779/0.2377, allocations: 275.1 kB / 440.2 MB, free: 9.234 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 {(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.0002192/0.2379, allocations: 139.2 kB / 440.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.2397, allocations: 0.9999 MB / 441.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2397, allocations: 4 kB / 441.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.2403, allocations: 385.9 kB / 441.7 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.2407, allocations: 44.48 kB / 441.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.2424, allocations: 1.365 MB / 443.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2427, allocations: 0.8368 MB / 443.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001241/0.244, allocations: 1.081 MB / 445 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2442, allocations: 39.42 kB / 445.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2442, allocations: 0 / 445.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of Templates: time 0.00928/0.2534, allocations: 5.341 MB / 450.4 MB, free: 14.93 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches