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.001372/0.001372, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001593/0.001593, allocations: 210 kB / 24.48 MB, free: 3.938 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001643/0.001643, allocations: 55.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2256, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005359/0.2309, allocations: 3.653 MB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2338, allocations: 1.53 MB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.234, allocations: 12 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.2358, allocations: 0.7311 MB / 438.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.2368, allocations: 369 kB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.2381, allocations: 0.6267 MB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.2387, allocations: 0.5292 MB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.2394, allocations: 460.2 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.2397, allocations: 239.1 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.2401, allocations: 258.8 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.2401, allocations: 52 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.2406, allocations: 239.8 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2407, allocations: 131.5 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.2409, allocations: 211 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009493/0.2418, allocations: 0.8163 MB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2418, allocations: 0 / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2418, allocations: 0 / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2418, allocations: 0 / 442.1 MB, free: 12.88 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.002099/0.2439, allocations: 0.895 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.244, allocations: 8.031 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.2468, allocations: 396.2 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.2474, allocations: 303.6 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.2475, allocations: 41.69 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2476, allocations: 71.91 kB / 443.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2487, allocations: 0.6778 MB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2488, allocations: 0 / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.2488, allocations: 24 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2488, allocations: 16 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.25, allocations: 0.5751 MB / 445.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.2531, allocations: 1.757 MB / 446.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.2543, allocations: 472 kB / 447.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.2547, allocations: 175.6 kB / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/0.2548, allocations: 23.97 kB / 447.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2548, allocations: 42.5 kB / 447.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.2548, allocations: 0 / 447.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001671/0.2565, allocations: 0.5956 MB / 448.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2565, allocations: 55.41 kB / 448.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2567, allocations: 196.1 kB / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2568, allocations: 33.7 kB / 448.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2569, allocations: 269 kB / 448.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2571, allocations: 154.7 kB / 448.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2572, allocations: 86.14 kB / 449 MB, free: 5.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2574, allocations: 334.8 kB / 449.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.2577, allocations: 154.8 kB / 449.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.2582, allocations: 253.3 kB / 449.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.259, allocations: 441.7 kB / 450.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.259, allocations: 4 kB / 450.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001101/0.2601, allocations: 0.518 MB / 450.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2601, allocations: 8 kB / 450.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2601, allocations: 4 kB / 450.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.2604, allocations: 48.83 kB / 450.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.2608, allocations: 103.8 kB / 450.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.2624, allocations: 1.633 MB / 452.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2627, allocations: 51.66 kB / 452.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.2628, allocations: 20 kB / 452.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004587/0.2632, allocations: 269.1 kB / 452.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003934/0.2636, allocations: 256.9 kB / 453 MB, free: 1.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007327/0.2644, allocations: 427.6 kB / 453.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.2644, allocations: 3.938 kB / 453.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001016/0.2654, allocations: 0.4977 MB / 453.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2654, allocations: 11.98 kB / 453.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2654, allocations: 4 kB / 454 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.2656, allocations: 56.77 kB / 454 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.266, allocations: 99.83 kB / 454.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.2675, allocations: 1.623 MB / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.2678, allocations: 47.66 kB / 455.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2678, allocations: 20 kB / 455.8 MB, free: 14.57 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.0001806/0.268, allocations: 208.1 kB / 456 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.2681, allocations: 23.92 kB / 456 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2692, allocations: 0.4962 MB / 456.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2692, allocations: 4 kB / 456.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2692, allocations: 7.984 kB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2693, allocations: 0 / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.2709, allocations: 0.9354 MB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2709, allocations: 7.984 kB / 457.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.2713, allocations: 71.89 kB / 457.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.2715, allocations: 52.83 kB / 457.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.2715, allocations: 8 kB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.2731, allocations: 1.629 MB / 459.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2731, allocations: 0 / 459.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.2745, allocations: 0.7387 MB / 460 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.2746, allocations: 63.64 kB / 460 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.2747, allocations: 8 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.2749, allocations: 24.11 kB / 460.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.275, allocations: 32.38 kB / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.2751, allocations: 15.98 kB / 460.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.2752, allocations: 139 kB / 460.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2752, allocations: 0 / 460.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009069/0.2761, allocations: 263.1 kB / 460.5 MB, free: 9.676 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.0002407/0.2763, allocations: 139.4 kB / 460.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.2781, allocations: 0.849 MB / 461.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2781, allocations: 0 / 461.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.2786, allocations: 325.3 kB / 461.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.279, allocations: 42.48 kB / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2806, allocations: 0.8891 MB / 462.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2808, allocations: 221.8 kB / 463 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.281, allocations: 43.42 kB / 463 MB, free: 7.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.281, allocations: 0 / 463 MB, free: 7.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01058/0.2915, allocations: 7.385 MB / 470.4 MB, free: 15.7 MB / 382.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 -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: 7.862132453825325]