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.001628/0.001628, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001952/0.001952, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001585/0.001585, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2724, allocations: 53.37 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005623/0.278, allocations: 4 MB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.2809, allocations: 1.666 MB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.2811, allocations: 12 kB / 437.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.2829, allocations: 0.7855 MB / 438.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008374/0.2838, allocations: 377.9 kB / 438.5 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2851, allocations: 0.6773 MB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000662/0.2858, allocations: 0.5253 MB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/0.2865, allocations: 469.4 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.2868, allocations: 247.1 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.2872, allocations: 302.8 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.2873, allocations: 52 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.2877, allocations: 243.8 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2878, allocations: 127.5 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.288, allocations: 262.7 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009751/0.289, allocations: 0.8134 MB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.289, allocations: 4 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.289, allocations: 0 / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.289, allocations: 0 / 442.2 MB, free: 12.38 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.002153/0.2912, allocations: 0.8911 MB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2912, allocations: 12.03 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.2941, allocations: 392.2 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.2947, allocations: 299.6 kB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.2947, allocations: 41.69 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.2948, allocations: 63.94 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.296, allocations: 0.6354 MB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.296, allocations: 8 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.296, allocations: 24 kB / 444.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.296, allocations: 16 kB / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.2972, allocations: 0.579 MB / 445.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.3008, allocations: 2.01 MB / 447.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.3021, allocations: 472 kB / 447.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.3025, allocations: 176.7 kB / 447.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.362e-05/0.3026, allocations: 24.28 kB / 447.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3026, allocations: 38.5 kB / 447.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.3026, allocations: 0 / 447.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001673/0.3043, allocations: 0.6034 MB / 448.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3044, allocations: 63.33 kB / 448.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3047, allocations: 277.8 kB / 448.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3047, allocations: 33.69 kB / 448.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3049, allocations: 245 kB / 449 MB, free: 5.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.305, allocations: 158.6 kB / 449.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3052, allocations: 90.17 kB / 449.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3053, allocations: 338.8 kB / 449.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.3057, allocations: 154.8 kB / 449.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.3061, allocations: 259.3 kB / 450 MB, free: 4.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.3069, allocations: 437.7 kB / 450.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3069, allocations: 0 / 450.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001094/0.308, allocations: 0.5336 MB / 450.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.308, allocations: 4 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.308, allocations: 4 kB / 451 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.3083, allocations: 52.83 kB / 451 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.3087, allocations: 103.9 kB / 451.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.3104, allocations: 1.668 MB / 452.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.3107, allocations: 55.62 kB / 452.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3107, allocations: 27.86 kB / 452.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004339/0.3111, allocations: 273.1 kB / 453.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003826/0.3115, allocations: 248.9 kB / 453.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007128/0.3122, allocations: 423.7 kB / 453.8 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.3122, allocations: 0 / 453.8 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00103/0.3133, allocations: 0.5054 MB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3133, allocations: 11.94 kB / 454.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3133, allocations: 4 kB / 454.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.3135, allocations: 53.12 kB / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.3139, allocations: 103.8 kB / 454.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.3154, allocations: 1.657 MB / 456.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.3157, allocations: 39.91 kB / 456.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.3157, allocations: 19.98 kB / 456.2 MB, free: 13.67 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.0001627/0.3159, allocations: 208.1 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.3159, allocations: 43.77 kB / 456.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3171, allocations: 0.4966 MB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3171, allocations: 4 kB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3171, allocations: 0 / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3171, allocations: 7.922 kB / 456.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3188, allocations: 1.064 MB / 458 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3188, allocations: 0 / 458 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.3192, allocations: 75.89 kB / 458.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.3194, allocations: 52.83 kB / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3194, allocations: 11.98 kB / 458.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.3209, allocations: 1.652 MB / 459.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3209, allocations: 8.031 kB / 459.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3223, allocations: 0.7464 MB / 460.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3224, allocations: 79.59 kB / 460.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.3225, allocations: 8 kB / 460.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.3228, allocations: 19.98 kB / 460.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.3229, allocations: 32.38 kB / 460.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.323, allocations: 8 kB / 460.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3232, allocations: 197.2 kB / 460.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3232, allocations: 0 / 460.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000823/0.324, allocations: 243.4 kB / 461.1 MB, free: 8.52 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.0002231/0.3242, allocations: 139.5 kB / 461.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.3259, allocations: 0.8488 MB / 462.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3259, allocations: 0 / 462.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.3265, allocations: 317 kB / 462.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3269, allocations: 52.08 kB / 462.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3283, allocations: 0.8638 MB / 463.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3288, allocations: 0.8211 MB / 464.1 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.3291, allocations: 75.25 kB / 464.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3292, allocations: 39.42 kB / 464.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3292, allocations: 3.938 kB / 464.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of Templates: time 0.01123/0.3404, allocations: 5.235 MB / 469.5 MB, free: 64 kB / 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 -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/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_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.64713213709183]