Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 197.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 226.6 MB / 244.3 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007731, allocations: 99.38 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002176, allocations: 8 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1977, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003147/0.2009, allocations: 3.375 MB / 410.9 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2029, allocations: 1.472 MB / 412.3 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2031, allocations: 15.94 kB / 412.4 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.2034, allocations: 132.4 kB / 412.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.2041, allocations: 300.4 kB / 412.8 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.205, allocations: 0.5421 MB / 413.3 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.2054, allocations: 485.5 kB / 413.8 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.2065, allocations: 0.7051 MB / 414.5 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.2067, allocations: 191.2 kB / 414.7 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2069, allocations: 242.9 kB / 414.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.207, allocations: 24 kB / 415 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.2073, allocations: 219.8 kB / 415.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.2074, allocations: 83.61 kB / 415.2 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.2075, allocations: 105.5 kB / 415.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.2079, allocations: 0.6047 MB / 416 MB, free: 19.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2079, allocations: 0 / 416 MB, free: 19.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2079, allocations: 0 / 416 MB, free: 19.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.208, allocations: 0 / 416 MB, free: 19.32 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.001878/0.2098, allocations: 0.8894 MB / 416.8 MB, free: 18.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2099, allocations: 8.031 kB / 416.9 MB, free: 18.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.2124, allocations: 422.9 kB / 417.3 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.2129, allocations: 348.1 kB / 417.6 MB, free: 17.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.2129, allocations: 49.27 kB / 417.7 MB, free: 17.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.213, allocations: 59.94 kB / 417.7 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2141, allocations: 0.6979 MB / 418.4 MB, free: 16.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.2141, allocations: 7.984 kB / 418.4 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.2142, allocations: 24 kB / 418.4 MB, free: 16.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.2142, allocations: 29.3 kB / 418.5 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.2154, allocations: 0.7 MB / 419.2 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.2183, allocations: 2.434 MB / 421.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2195, allocations: 1.195 MB / 422.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.2199, allocations: 240.7 kB / 423 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.22, allocations: 174.5 kB / 423.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.22, allocations: 38.5 kB / 423.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.2201, allocations: 0 / 423.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001652/0.2217, allocations: 0.8152 MB / 424.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.2218, allocations: 55.41 kB / 424.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.222, allocations: 278.4 kB / 424.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.222, allocations: 37.64 kB / 424.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.2221, allocations: 244.4 kB / 424.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.2222, allocations: 153.8 kB / 424.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.2222, allocations: 8 kB / 424.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.2223, allocations: 342.8 kB / 425.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.2227, allocations: 185 kB / 425.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.2231, allocations: 303.2 kB / 425.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.2234, allocations: 219.9 kB / 425.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2235, allocations: 0 / 425.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009888/0.2245, allocations: 0.6102 MB / 426.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2246, allocations: 185.3 kB / 426.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2246, allocations: 7.938 kB / 426.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.2249, allocations: 56.83 kB / 426.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.2253, allocations: 119.8 kB / 426.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.2264, allocations: 1.584 MB / 428.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.2267, allocations: 59.42 kB / 428.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.2267, allocations: 23.98 kB / 428.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.2268, allocations: 4 kB / 428.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008627/0.2276, allocations: 0.5356 MB / 429 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2276, allocations: 8.062 kB / 429 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.2278, allocations: 52.77 kB / 429.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.2281, allocations: 107.9 kB / 429.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008743/0.229, allocations: 1.519 MB / 430.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.2293, allocations: 47.53 kB / 430.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2293, allocations: 23.98 kB / 430.8 MB, free: 3.555 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.2296, allocations: 257.1 kB / 431 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.2296, allocations: 31.62 kB / 431.1 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2307, allocations: 0.598 MB / 431.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2307, allocations: 8 kB / 431.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2307, allocations: 0 / 431.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.2307, allocations: 7.984 kB / 431.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2322, allocations: 1.24 MB / 432.9 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2322, allocations: 3.938 kB / 432.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.2326, allocations: 87.88 kB / 433 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2327, allocations: 52.83 kB / 433.1 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.2328, allocations: 19.98 kB / 433.1 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.234, allocations: 1.569 MB / 434.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2341, allocations: 0 / 434.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.2356, allocations: 0.8975 MB / 435.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.2358, allocations: 156.5 kB / 435.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.2358, allocations: 8 kB / 435.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2361, allocations: 28.05 kB / 435.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.2362, allocations: 32.33 kB / 435.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.2362, allocations: 19.98 kB / 435.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.2364, allocations: 190 kB / 436 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2364, allocations: 0 / 436 MB, free: 14.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008085/0.2372, allocations: 247.2 kB / 436.2 MB, free: 13.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.2375, allocations: 143.2 kB / 436.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.2393, allocations: 1.024 MB / 437.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2393, allocations: 0 / 437.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.2399, allocations: 389.6 kB / 437.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2403, allocations: 48.34 kB / 437.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.242, allocations: 1.149 MB / 438.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2424, allocations: 0.8213 MB / 439.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2426, allocations: 51.41 kB / 439.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of SimCode: time 2e-07/0.2426, allocations: 4 kB / 439.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Templates: time 0.0104/0.253, allocations: 8.103 MB / 447.9 MB, free: 2.047 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches