Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 59.86 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2169, allocations: 53.35 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005296/0.2222, allocations: 3.657 MB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.2249, allocations: 1.53 MB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.2251, allocations: 15.94 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.2269, allocations: 0.7233 MB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.2278, allocations: 374 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.2291, allocations: 0.6258 MB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.2299, allocations: 0.5292 MB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.2306, allocations: 464.2 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.2309, allocations: 259 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.2313, allocations: 282.9 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.2313, allocations: 55.94 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.2318, allocations: 247.8 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2319, allocations: 127.5 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.2321, allocations: 214.9 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.233, allocations: 0.8124 MB / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2331, allocations: 0 / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2331, allocations: 0 / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2331, allocations: 4 kB / 442.2 MB, free: 12.84 MB / 350.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.002215/0.2353, allocations: 0.895 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2353, allocations: 12.03 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.2384, allocations: 396.2 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.239, allocations: 291.6 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.239, allocations: 49.62 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2391, allocations: 59.94 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2404, allocations: 0.6817 MB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.2404, allocations: 0 / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.2405, allocations: 32 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2405, allocations: 15.94 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.2418, allocations: 0.5712 MB / 445.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.2449, allocations: 1.749 MB / 446.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.2463, allocations: 476 kB / 447.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.2467, allocations: 172.7 kB / 447.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.2468, allocations: 23.98 kB / 447.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2468, allocations: 34.56 kB / 447.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.2468, allocations: 0 / 447.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00177/0.2486, allocations: 0.5995 MB / 448.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2486, allocations: 55.41 kB / 448.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2488, allocations: 204.1 kB / 448.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.2489, allocations: 29.7 kB / 448.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.249, allocations: 268.6 kB / 448.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.2492, allocations: 151 kB / 448.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2493, allocations: 86.12 kB / 449 MB, free: 5.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2495, allocations: 338.8 kB / 449.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.2499, allocations: 158.7 kB / 449.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.2503, allocations: 252.2 kB / 449.7 MB, free: 5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.2511, allocations: 441.7 kB / 450.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2511, allocations: 0 / 450.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00116/0.2523, allocations: 0.5219 MB / 450.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2523, allocations: 4 kB / 450.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2523, allocations: 4 kB / 450.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.2526, allocations: 52.83 kB / 450.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.2531, allocations: 108 kB / 450.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.2548, allocations: 1.629 MB / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.2551, allocations: 55.59 kB / 452.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.2551, allocations: 19.98 kB / 452.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004795/0.2556, allocations: 273.1 kB / 452.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004144/0.256, allocations: 248.9 kB / 453.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008051/0.2568, allocations: 423.6 kB / 453.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.2568, allocations: 3.938 kB / 453.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001067/0.2579, allocations: 0.5014 MB / 454 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.2579, allocations: 4 kB / 454 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2579, allocations: 4 kB / 454 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.2581, allocations: 64.7 kB / 454.1 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.2586, allocations: 100.2 kB / 454.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.2601, allocations: 1.623 MB / 455.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2604, allocations: 47.67 kB / 455.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.2605, allocations: 19.98 kB / 455.8 MB, free: 14.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001836/0.2606, allocations: 208.2 kB / 456 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.2607, allocations: 23.86 kB / 456.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.2619, allocations: 0.5002 MB / 456.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2619, allocations: 4 kB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2619, allocations: 0 / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2619, allocations: 3.984 kB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2637, allocations: 0.9354 MB / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2637, allocations: 0 / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.2641, allocations: 75.89 kB / 457.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.2643, allocations: 52.83 kB / 457.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.2643, allocations: 11.98 kB / 457.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.2659, allocations: 1.637 MB / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2659, allocations: 0 / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2673, allocations: 0.7347 MB / 460 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2675, allocations: 71.73 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.2675, allocations: 8 kB / 460.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.2678, allocations: 19.98 kB / 460.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.2679, allocations: 32.38 kB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.2679, allocations: 16 kB / 460.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.268, allocations: 139 kB / 460.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.268, allocations: 0 / 460.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008969/0.2689, allocations: 255.2 kB / 460.6 MB, free: 9.645 MB / 366.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.0002403/0.2692, allocations: 143.4 kB / 460.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.2709, allocations: 0.8454 MB / 461.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2709, allocations: 4.062 kB / 461.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.2715, allocations: 321 kB / 461.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.2719, allocations: 46.61 kB / 461.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.2734, allocations: 0.8638 MB / 462.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2737, allocations: 221.8 kB / 463 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.2739, allocations: 66.92 kB / 463 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.2741, allocations: 35.42 kB / 463.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2741, allocations: 0 / 463.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of Templates: time 0.01098/0.285, allocations: 5.073 MB / 468.2 MB, free: 2.016 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.359656161002931]