Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 102.8 kB / 16.92 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 191.3 kB / 17.85 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 54.45 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 49.44 MB / 350.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005069/0.1077, allocations: 3.94 MB / 354 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1103, allocations: 1.569 MB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.1106, allocations: 12 kB / 355.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.1124, allocations: 0.7739 MB / 356.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1134, allocations: 0.532 MB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009927/0.1144, allocations: 0.5295 MB / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.115, allocations: 0.5292 MB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.1157, allocations: 0.4962 MB / 358.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.116, allocations: 243.1 kB / 358.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.1163, allocations: 294.8 kB / 359 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.1164, allocations: 52 kB / 359 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.1169, allocations: 243.8 kB / 359.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.117, allocations: 127.5 kB / 359.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.1172, allocations: 270.6 kB / 359.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007719/0.118, allocations: 0.7749 MB / 360.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.118, allocations: 3.984 kB / 360.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.118, allocations: 0 / 360.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.118, allocations: 0 / 360.4 MB, free: 10.02 MB / 302.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.002005/0.12, allocations: 0.9559 MB / 361.4 MB, free: 9.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1201, allocations: 12.03 kB / 361.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.1229, allocations: 399.9 kB / 361.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.1234, allocations: 368.2 kB / 362.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.1235, allocations: 45.69 kB / 362.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.1236, allocations: 59.94 kB / 362.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.1248, allocations: 0.6276 MB / 362.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1248, allocations: 0 / 362.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.1249, allocations: 24 kB / 362.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.1249, allocations: 24 kB / 362.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.126, allocations: 0.5751 MB / 363.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.129, allocations: 2.177 MB / 365.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.1304, allocations: 1.183 MB / 366.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.1308, allocations: 196 kB / 367 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.174e-05/0.1309, allocations: 89.09 kB / 367.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1309, allocations: 34.56 kB / 367.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.006e-06/0.1309, allocations: 4 kB / 367.2 MB, free: 2.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001615/0.1326, allocations: 0.6901 MB / 367.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1326, allocations: 55.41 kB / 367.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1329, allocations: 274.5 kB / 368.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1329, allocations: 37.7 kB / 368.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1331, allocations: 244.4 kB / 368.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.1332, allocations: 149.8 kB / 368.6 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1333, allocations: 82.25 kB / 368.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1334, allocations: 346.8 kB / 369 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.1338, allocations: 155 kB / 369.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.1342, allocations: 253.9 kB / 369.4 MB, free: 464 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1803/0.3144, allocations: 429.8 kB / 369.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.3145, allocations: 4.672 kB / 369.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001418/0.3159, allocations: 0.5215 MB / 370.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.316, allocations: 6.5 kB / 370.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.316, allocations: 4.828 kB / 370.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.3163, allocations: 55.05 kB / 370.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.3167, allocations: 97.45 kB / 370.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3181, allocations: 1.771 MB / 372.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.3184, allocations: 57.08 kB / 372.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.3185, allocations: 23.27 kB / 372.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004747/0.319, allocations: 267.7 kB / 372.6 MB, free: 23.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003661/0.3193, allocations: 254.3 kB / 372.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006583/0.32, allocations: 420 kB / 373.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.32, allocations: 1.125 kB / 373.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009991/0.321, allocations: 0.5118 MB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3211, allocations: 7.312 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3211, allocations: 4.656 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.3212, allocations: 59.78 kB / 373.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.3216, allocations: 95.61 kB / 374 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3228, allocations: 1.767 MB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.3231, allocations: 44.83 kB / 375.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.3232, allocations: 20.09 kB / 375.8 MB, free: 21.39 MB / 302.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.0001642/0.3233, allocations: 219.4 kB / 376 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.3234, allocations: 30.62 kB / 376 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.3245, allocations: 0.5051 MB / 376.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3245, allocations: 5.5 kB / 376.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3245, allocations: 0 / 376.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3245, allocations: 4.328 kB / 376.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3264, allocations: 1.074 MB / 377.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3264, allocations: 0 / 377.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.3268, allocations: 84.5 kB / 377.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.327, allocations: 58.97 kB / 377.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.327, allocations: 15.73 kB / 377.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.3282, allocations: 1.765 MB / 379.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3282, allocations: 0 / 379.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3295, allocations: 0.7489 MB / 380.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3297, allocations: 141 kB / 380.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.3297, allocations: 8.781 kB / 380.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.33, allocations: 17.14 kB / 380.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3301, allocations: 31.78 kB / 380.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3302, allocations: 14.3 kB / 380.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.3304, allocations: 194.6 kB / 380.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3304, allocations: 0 / 380.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3315, allocations: 241.3 kB / 380.9 MB, free: 17.86 MB / 302.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.000316/0.3318, allocations: 142.1 kB / 381.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3336, allocations: 0.9105 MB / 382 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3337, allocations: 0 / 382 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.3341, allocations: 342.6 kB / 382.3 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3346, allocations: 44.97 kB / 382.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3361, allocations: 0.8619 MB / 383.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3364, allocations: 0.8246 MB / 384 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000367/0.3368, allocations: 71.44 kB / 384.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3369, allocations: 39.52 kB / 384.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3369, allocations: 0 / 384.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01155/0.3485, allocations: 4.821 MB / 389 MB, free: 15.12 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches