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.001133/0.001133, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001139/0.001139, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 46.83 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1007, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005724/0.1065, allocations: 3.946 MB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.1096, allocations: 1.562 MB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.1102, allocations: 16 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.1123, allocations: 0.779 MB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1138, allocations: 0.516 MB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.115, allocations: 0.5372 MB / 358.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.1158, allocations: 0.5365 MB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.1166, allocations: 0.4958 MB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.1169, allocations: 239.1 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.1172, allocations: 294.8 kB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.1173, allocations: 52 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.1179, allocations: 243.8 kB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.118, allocations: 127.5 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.1182, allocations: 266.6 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.1192, allocations: 0.7827 MB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1192, allocations: 0 / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1192, allocations: 0 / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1192, allocations: 4 kB / 361.1 MB, free: 10.01 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.002223/0.1214, allocations: 0.952 MB / 362.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1215, allocations: 15.97 kB / 362.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.1242, allocations: 407.9 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.1249, allocations: 353.3 kB / 362.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1249, allocations: 41.69 kB / 362.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.125, allocations: 63.94 kB / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1262, allocations: 0.6393 MB / 363.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1262, allocations: 0 / 363.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.1263, allocations: 24 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1263, allocations: 16 kB / 363.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.1274, allocations: 0.5673 MB / 364.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.1306, allocations: 2.185 MB / 366.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.1322, allocations: 1.181 MB / 367.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.1326, allocations: 196.8 kB / 367.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.1327, allocations: 89.11 kB / 367.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1327, allocations: 38.55 kB / 367.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.046e-06/0.1328, allocations: 4 kB / 367.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001673/0.1344, allocations: 0.6785 MB / 368.5 MB, free: 2.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1345, allocations: 55.41 kB / 368.6 MB, free: 2.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1348, allocations: 278.5 kB / 368.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1348, allocations: 37.7 kB / 368.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.135, allocations: 244.7 kB / 369.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1351, allocations: 153.7 kB / 369.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1353, allocations: 86.25 kB / 369.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1354, allocations: 338.8 kB / 369.7 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1357, allocations: 159 kB / 369.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.1361, allocations: 257.9 kB / 370.1 MB, free: 452 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1718/0.3079, allocations: 420.3 kB / 370.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.3079, allocations: 6.172 kB / 370.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001356/0.3093, allocations: 0.5255 MB / 371 MB, free: 25.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3094, allocations: 6.5 kB / 371.1 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3094, allocations: 3.844 kB / 371.1 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.3097, allocations: 55.94 kB / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.3101, allocations: 101.4 kB / 371.2 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.3115, allocations: 1.768 MB / 373 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3119, allocations: 53.44 kB / 373 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.3119, allocations: 20.52 kB / 373 MB, free: 23.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000464/0.3124, allocations: 269.1 kB / 373.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003588/0.3128, allocations: 258.3 kB / 373.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006739/0.3134, allocations: 421.4 kB / 374 MB, free: 23.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.3135, allocations: 1.156 kB / 374 MB, free: 23.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001129/0.3146, allocations: 0.5113 MB / 374.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3146, allocations: 7.188 kB / 374.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3146, allocations: 3.594 kB / 374.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.3149, allocations: 58.53 kB / 374.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.3153, allocations: 100.6 kB / 374.7 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3164, allocations: 1.767 MB / 376.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.3167, allocations: 38.94 kB / 376.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3168, allocations: 21.17 kB / 376.5 MB, free: 21.43 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.0001683/0.3169, allocations: 211.3 kB / 376.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.317, allocations: 34.19 kB / 376.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3181, allocations: 0.507 MB / 377.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3181, allocations: 5.5 kB / 377.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3181, allocations: 2.109 kB / 377.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3181, allocations: 3.438 kB / 377.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3197, allocations: 1.081 MB / 378.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3198, allocations: 0 / 378.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.3201, allocations: 79.39 kB / 378.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.3203, allocations: 51.28 kB / 378.4 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3204, allocations: 22.16 kB / 378.5 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.3215, allocations: 1.76 MB / 380.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3216, allocations: 0 / 380.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3229, allocations: 0.7447 MB / 381 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.323, allocations: 144.8 kB / 381.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.3231, allocations: 11.03 kB / 381.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3233, allocations: 16.64 kB / 381.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3235, allocations: 35.62 kB / 381.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3235, allocations: 13.8 kB / 381.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3237, allocations: 199 kB / 381.4 MB, free: 17.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3237, allocations: 0 / 381.4 MB, free: 17.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009432/0.3247, allocations: 236.3 kB / 381.6 MB, free: 17.91 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.0002321/0.3249, allocations: 141.6 kB / 381.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3267, allocations: 0.9041 MB / 382.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3267, allocations: 0 / 382.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.3272, allocations: 350.8 kB / 383 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.3277, allocations: 50.39 kB / 383 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3292, allocations: 0.8891 MB / 383.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3295, allocations: 0.8218 MB / 384.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3296, allocations: 44.19 kB / 384.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3297, allocations: 0 / 384.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Templates: time 0.01188/0.3415, allocations: 7.245 MB / 392 MB, free: 13.65 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/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