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.001729/0.001729, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002333/0.002333, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.002028/0.002028, allocations: 63.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006102/0.2568, allocations: 3.996 MB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.26, allocations: 1.662 MB / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.2604, allocations: 12 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.2624, allocations: 0.7856 MB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.2636, allocations: 377.5 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.2651, allocations: 0.6846 MB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000804/0.2659, allocations: 0.5292 MB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.2667, allocations: 465.4 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.2671, allocations: 251.1 kB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.2676, allocations: 298.8 kB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.2677, allocations: 52 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.2682, allocations: 251.8 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2683, allocations: 119.6 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2686, allocations: 270.6 kB / 442.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2697, allocations: 0.8017 MB / 443 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2697, allocations: 4 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2697, allocations: 0 / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2698, allocations: 0 / 443 MB, free: 12.21 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.002307/0.2721, allocations: 0.8951 MB / 443.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2721, allocations: 8.031 kB / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.2749, allocations: 396.2 kB / 444.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.2756, allocations: 299.6 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.2756, allocations: 45.69 kB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.2757, allocations: 63.94 kB / 444.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2769, allocations: 0.6237 MB / 445.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.2769, allocations: 3.938 kB / 445.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.277, allocations: 35.94 kB / 445.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.277, allocations: 12 kB / 445.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.2782, allocations: 0.5751 MB / 445.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.2817, allocations: 2.006 MB / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.283, allocations: 478.2 kB / 448.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.2834, allocations: 180.5 kB / 448.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.2835, allocations: 24.28 kB / 448.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2835, allocations: 42.5 kB / 448.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.2835, allocations: 0 / 448.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001799/0.2853, allocations: 0.6044 MB / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.2854, allocations: 59.39 kB / 449.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2857, allocations: 273.8 kB / 449.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.2858, allocations: 37.69 kB / 449.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.286, allocations: 249 kB / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2861, allocations: 158.6 kB / 450 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2862, allocations: 90.17 kB / 450.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.2865, allocations: 334.8 kB / 450.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.2868, allocations: 154.8 kB / 450.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.2873, allocations: 257.3 kB / 450.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.2882, allocations: 441.7 kB / 451.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2882, allocations: 0 / 451.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001182/0.2893, allocations: 0.5255 MB / 451.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2894, allocations: 8.406 kB / 451.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2894, allocations: 8 kB / 451.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.2896, allocations: 52.83 kB / 451.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.2901, allocations: 103.8 kB / 451.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.2919, allocations: 1.664 MB / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.2923, allocations: 51.62 kB / 453.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.2923, allocations: 31.98 kB / 453.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000481/0.2928, allocations: 269.1 kB / 453.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004213/0.2932, allocations: 256.9 kB / 454.2 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007583/0.294, allocations: 415.7 kB / 454.6 MB, free: 20 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.294, allocations: 8 kB / 454.6 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001099/0.2951, allocations: 0.498 MB / 455.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2951, allocations: 14.44 kB / 455.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2951, allocations: 4 kB / 455.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.2953, allocations: 60.81 kB / 455.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.2957, allocations: 91.83 kB / 455.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2975, allocations: 1.668 MB / 456.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2978, allocations: 39.84 kB / 457 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2979, allocations: 23.98 kB / 457 MB, free: 13.49 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.0002138/0.2981, allocations: 204.1 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.2982, allocations: 39.7 kB / 457.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2994, allocations: 0.4966 MB / 457.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.2994, allocations: 8 kB / 457.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2994, allocations: 4 kB / 457.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.2995, allocations: 3.984 kB / 457.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.3018, allocations: 1.06 MB / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3018, allocations: 0 / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.3022, allocations: 79.89 kB / 458.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.3024, allocations: 52.83 kB / 458.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.3024, allocations: 11.98 kB / 458.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.3043, allocations: 1.66 MB / 460.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3043, allocations: 0 / 460.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3059, allocations: 0.7503 MB / 461.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3061, allocations: 79.59 kB / 461.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.3061, allocations: 4 kB / 461.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3064, allocations: 24.05 kB / 461.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3065, allocations: 36.38 kB / 461.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3065, allocations: 12 kB / 461.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3068, allocations: 193.2 kB / 461.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3068, allocations: 0 / 461.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001012/0.3078, allocations: 243.3 kB / 461.9 MB, free: 8.34 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.0002941/0.3081, allocations: 131.5 kB / 462.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.31, allocations: 0.8453 MB / 462.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.31, allocations: 384 / 462.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.3106, allocations: 329 kB / 463.2 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.311, allocations: 47.16 kB / 463.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3129, allocations: 0.8936 MB / 464.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.3134, allocations: 0.825 MB / 465 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3136, allocations: 43.42 kB / 465 MB, free: 5.141 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3136, allocations: 3.938 kB / 465 MB, free: 5.137 MB / 366.1 MB Notification: Performance of Templates: time 0.01306/0.3266, allocations: 7.485 MB / 472.5 MB, free: 13.65 MB / 382.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/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_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: 7.619815638056025]