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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 112.3 kB / 20.48 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 215.3 kB / 23.78 MB, free: 4.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 257.5 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 63.89 kB / 378.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2564, allocations: 53.4 MB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005333/0.2617, allocations: 3.65 MB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.2648, allocations: 1.545 MB / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.265, allocations: 11.94 kB / 436.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2669, allocations: 0.7117 MB / 437.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.2678, allocations: 370 kB / 438 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2692, allocations: 0.6492 MB / 438.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.2698, allocations: 0.5253 MB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007199/0.2705, allocations: 456.2 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.2709, allocations: 247.1 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.2712, allocations: 254.8 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.2713, allocations: 52 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004596/0.2717, allocations: 243.8 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2718, allocations: 119.5 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.272, allocations: 219 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.273, allocations: 0.812 MB / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.273, allocations: 0 / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.273, allocations: 0 / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.273, allocations: 0 / 441.5 MB, free: 12.69 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.002167/0.2752, allocations: 0.895 MB / 442.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2753, allocations: 16.03 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.2781, allocations: 388.2 kB / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.2788, allocations: 303.5 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.2788, allocations: 45.69 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.2789, allocations: 59.94 kB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2801, allocations: 0.6778 MB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.2802, allocations: 0 / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.2802, allocations: 28 kB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.2802, allocations: 12 kB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2814, allocations: 0.5712 MB / 444.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.2845, allocations: 1.755 MB / 446.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2858, allocations: 482.1 kB / 446.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.2862, allocations: 172.8 kB / 446.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.253e-05/0.2863, allocations: 15.98 kB / 446.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2863, allocations: 38.56 kB / 447 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.784e-06/0.2863, allocations: 0 / 447 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001676/0.288, allocations: 0.6006 MB / 447.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.288, allocations: 59.34 kB / 447.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.2883, allocations: 207 kB / 447.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2883, allocations: 33.7 kB / 447.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.2885, allocations: 256.7 kB / 448.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2886, allocations: 158.9 kB / 448.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2887, allocations: 86.14 kB / 448.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2889, allocations: 334.8 kB / 448.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2893, allocations: 158.8 kB / 448.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.2897, allocations: 253.3 kB / 449.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.2905, allocations: 437.7 kB / 449.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2905, allocations: 0 / 449.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001138/0.2917, allocations: 0.5178 MB / 450 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2917, allocations: 4 kB / 450 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2917, allocations: 4 kB / 450 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.292, allocations: 65.17 kB / 450.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2924, allocations: 99.88 kB / 450.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.2943, allocations: 1.633 MB / 451.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.2946, allocations: 51.72 kB / 451.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.2946, allocations: 20 kB / 451.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004847/0.2951, allocations: 273.1 kB / 452.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004207/0.2955, allocations: 252.9 kB / 452.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008256/0.2963, allocations: 415.7 kB / 452.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.79e-06/0.2964, allocations: 3.938 kB / 452.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001095/0.2974, allocations: 0.5092 MB / 453.3 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2975, allocations: 7.938 kB / 453.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2975, allocations: 4.406 kB / 453.3 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.2977, allocations: 60.77 kB / 453.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.2981, allocations: 91.89 kB / 453.5 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.2998, allocations: 1.626 MB / 455.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.3001, allocations: 47.72 kB / 455.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.3001, allocations: 20 kB / 455.2 MB, free: 14.38 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.0002146/0.3004, allocations: 208.1 kB / 455.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.3004, allocations: 27.84 kB / 455.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.3017, allocations: 0.5016 MB / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3017, allocations: 4 kB / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3017, allocations: 3.938 kB / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3017, allocations: 0 / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3035, allocations: 0.9331 MB / 456.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3035, allocations: 0 / 456.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3039, allocations: 79.89 kB / 456.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.3041, allocations: 48.83 kB / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.3042, allocations: 12 kB / 457 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.3059, allocations: 1.637 MB / 458.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3059, allocations: 0 / 458.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3074, allocations: 0.7407 MB / 459.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3076, allocations: 63.67 kB / 459.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3076, allocations: 15.98 kB / 459.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3079, allocations: 15.98 kB / 459.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.308, allocations: 32.44 kB / 459.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.308, allocations: 16 kB / 459.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3081, allocations: 140.4 kB / 459.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3081, allocations: 64 / 459.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009611/0.3091, allocations: 263.1 kB / 459.9 MB, free: 9.469 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.0002689/0.3094, allocations: 135.5 kB / 460 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3112, allocations: 0.8499 MB / 460.9 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3112, allocations: 0 / 460.9 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.3117, allocations: 317.4 kB / 461.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.3122, allocations: 45.56 kB / 461.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3139, allocations: 0.8532 MB / 462.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3141, allocations: 225.8 kB / 462.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.3144, allocations: 66.92 kB / 462.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3145, allocations: 40.48 kB / 462.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3145, allocations: 0 / 462.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of Templates: time 0.01053/0.325, allocations: 4.478 MB / 466.9 MB, free: 2.441 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.67757367901504]