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.001529/0.001529, allocations: 114.1 kB / 17.69 MB, free: 5.312 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.001695/0.001695, allocations: 191 kB / 18.63 MB, free: 4.379 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009904, allocations: 47.53 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1126, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005161/0.1178, allocations: 3.937 MB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1204, allocations: 1.561 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1206, allocations: 12 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1223, allocations: 0.7699 MB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1233, allocations: 0.5354 MB / 358.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.1243, allocations: 0.5367 MB / 358.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1249, allocations: 0.5292 MB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.1256, allocations: 0.5037 MB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.126, allocations: 235.1 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1263, allocations: 294.8 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.353e-05/0.1263, allocations: 56 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.1267, allocations: 243.8 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.1268, allocations: 123.6 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.127, allocations: 262.7 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1281, allocations: 0.806 MB / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1281, allocations: 0 / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1281, allocations: 0 / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1281, allocations: 0 / 361.9 MB, free: 9.273 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.002762/0.1309, allocations: 0.9481 MB / 362.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1309, allocations: 11.89 kB / 362.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.1337, allocations: 411.9 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.1343, allocations: 357.3 kB / 363.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.1344, allocations: 41.69 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.1345, allocations: 67.88 kB / 363.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1356, allocations: 0.6354 MB / 364.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1356, allocations: 0 / 364.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1357, allocations: 24 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1357, allocations: 16 kB / 364.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1368, allocations: 0.5673 MB / 365 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.1397, allocations: 2.157 MB / 367.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.1412, allocations: 1.185 MB / 368.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.1416, allocations: 192.8 kB / 368.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.1417, allocations: 93.39 kB / 368.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1417, allocations: 42.56 kB / 368.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.1417, allocations: 0 / 368.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001619/0.1433, allocations: 0.6823 MB / 369.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1434, allocations: 55.41 kB / 369.4 MB, free: 1.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1437, allocations: 286.5 kB / 369.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1437, allocations: 33.7 kB / 369.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1438, allocations: 240.4 kB / 369.9 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.144, allocations: 153.7 kB / 370.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1441, allocations: 86.19 kB / 370.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1443, allocations: 342.8 kB / 370.5 MB, free: 176 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.1447, allocations: 155 kB / 370.6 MB, free: 16 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1309/0.2756, allocations: 253.1 kB / 370.9 MB, free: 25.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.2764, allocations: 431.4 kB / 371.3 MB, free: 25.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2764, allocations: 1 kB / 371.3 MB, free: 25.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009681/0.2774, allocations: 0.5232 MB / 371.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2774, allocations: 10.03 kB / 371.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2774, allocations: 5.438 kB / 371.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.2776, allocations: 52.88 kB / 371.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.2781, allocations: 105.5 kB / 372 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2792, allocations: 1.757 MB / 373.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.2795, allocations: 55.78 kB / 373.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.2795, allocations: 21.06 kB / 373.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003703/0.2799, allocations: 270.1 kB / 374.1 MB, free: 23.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002997/0.2802, allocations: 252.6 kB / 374.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000593/0.2808, allocations: 424.2 kB / 374.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.2808, allocations: 1.031 kB / 374.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008475/0.2817, allocations: 0.5111 MB / 375.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.2817, allocations: 6.656 kB / 375.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2817, allocations: 6.438 kB / 375.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.2819, allocations: 59.19 kB / 375.3 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2822, allocations: 99.92 kB / 375.4 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009448/0.2832, allocations: 1.759 MB / 377.2 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.2835, allocations: 42.67 kB / 377.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2835, allocations: 21.12 kB / 377.2 MB, free: 21.19 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.0001004/0.2836, allocations: 207 kB / 377.4 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2837, allocations: 35.41 kB / 377.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.2846, allocations: 0.5105 MB / 378 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2846, allocations: 4.125 kB / 378 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2847, allocations: 7.781 kB / 378 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.2847, allocations: 2.875 kB / 378 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2861, allocations: 1.076 MB / 379.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2861, allocations: 1.969 kB / 379.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.2864, allocations: 80.42 kB / 379.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/0.2866, allocations: 54.95 kB / 379.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2866, allocations: 12.44 kB / 379.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/0.2876, allocations: 1.754 MB / 381 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2876, allocations: 0 / 381 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2888, allocations: 0.7487 MB / 381.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2889, allocations: 146.5 kB / 381.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.2889, allocations: 11.94 kB / 381.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2892, allocations: 24.47 kB / 381.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.2893, allocations: 30.44 kB / 381.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.2893, allocations: 15.08 kB / 382 MB, free: 17.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2895, allocations: 193.1 kB / 382.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2895, allocations: 0 / 382.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.2903, allocations: 241 kB / 382.4 MB, free: 17.68 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.0001902/0.2904, allocations: 135.1 kB / 382.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2918, allocations: 0.8852 MB / 383.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2919, allocations: 4.312 kB / 383.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.2923, allocations: 348.5 kB / 383.7 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.2927, allocations: 48.77 kB / 383.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2939, allocations: 0.8485 MB / 384.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2942, allocations: 0.8257 MB / 385.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.2944, allocations: 73.11 kB / 385.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.2945, allocations: 39.62 kB / 385.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2945, allocations: 0 / 385.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Templates: time 0.008974/0.3035, allocations: 4.777 MB / 390.3 MB, free: 14.92 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 -s cvode -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