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.001112/0.001112, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001166/0.001166, allocations: 191 kB / 18.63 MB, free: 4.512 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.294/1.294, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009617/0.0009617, allocations: 46.36 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09458, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006844/0.1015, allocations: 3.945 MB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1049, allocations: 1.565 MB / 357 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.1052, allocations: 12 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.1075, allocations: 0.7802 MB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1089, allocations: 0.5202 MB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1104, allocations: 0.5333 MB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.1113, allocations: 0.537 MB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.1123, allocations: 0.4959 MB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.1127, allocations: 243.1 kB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.1132, allocations: 290.8 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.65e-05/0.1133, allocations: 56 kB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.1139, allocations: 243.8 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1141, allocations: 127.5 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.1144, allocations: 258.7 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1156, allocations: 0.8021 MB / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1156, allocations: 0 / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1156, allocations: 0 / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1156, allocations: 0 / 361.9 MB, free: 9.289 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.003244/0.1189, allocations: 0.952 MB / 362.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.119, allocations: 8.031 kB / 362.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.1238, allocations: 407.9 kB / 363.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.1247, allocations: 361.3 kB / 363.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.1248, allocations: 41.69 kB / 363.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1249, allocations: 67.88 kB / 363.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1265, allocations: 0.6315 MB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.1265, allocations: 3.984 kB / 364.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.1266, allocations: 28 kB / 364.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.1267, allocations: 12 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.1284, allocations: 0.5751 MB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.1328, allocations: 2.153 MB / 367.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.1348, allocations: 1.173 MB / 368.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.1354, allocations: 204.8 kB / 368.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.1355, allocations: 89.41 kB / 368.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1356, allocations: 38.5 kB / 368.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 6.673e-06/0.1356, allocations: 0 / 368.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002373/0.138, allocations: 0.6901 MB / 369.3 MB, free: 1.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1381, allocations: 59.41 kB / 369.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.1385, allocations: 274.5 kB / 369.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.1386, allocations: 37.7 kB / 369.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.1388, allocations: 240.4 kB / 369.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.139, allocations: 153.8 kB / 370 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.1392, allocations: 82.23 kB / 370.1 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1394, allocations: 346.8 kB / 370.5 MB, free: 192 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.1399, allocations: 159 kB / 370.6 MB, free: 28 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1466/0.2865, allocations: 247.9 kB / 370.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.2872, allocations: 429.7 kB / 371.3 MB, free: 25.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2873, allocations: 2.906 kB / 371.3 MB, free: 25.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001035/0.2883, allocations: 0.5242 MB / 371.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2883, allocations: 11.03 kB / 371.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2883, allocations: 6.562 kB / 371.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.2886, allocations: 53.64 kB / 371.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.2891, allocations: 98.05 kB / 372 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2903, allocations: 1.767 MB / 373.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.2907, allocations: 54.31 kB / 373.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.2907, allocations: 22.06 kB / 373.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003981/0.2911, allocations: 271.4 kB / 374.1 MB, free: 23.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003156/0.2914, allocations: 248.3 kB / 374.3 MB, free: 23.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006479/0.2921, allocations: 420 kB / 374.7 MB, free: 22.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.666e-06/0.2921, allocations: 1.062 kB / 374.7 MB, free: 22.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009508/0.2931, allocations: 0.5204 MB / 375.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2931, allocations: 6.094 kB / 375.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2931, allocations: 3.406 kB / 375.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.2933, allocations: 55.09 kB / 375.3 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.2937, allocations: 102.1 kB / 375.4 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2947, allocations: 1.769 MB / 377.2 MB, free: 21.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.295, allocations: 39.59 kB / 377.2 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.295, allocations: 21.25 kB / 377.2 MB, free: 21 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.0001088/0.2951, allocations: 209.7 kB / 377.5 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2952, allocations: 31.12 kB / 377.5 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.2962, allocations: 0.509 MB / 378 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2962, allocations: 7.812 kB / 378 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2963, allocations: 4 kB / 378 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2963, allocations: 4.094 kB / 378 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2978, allocations: 1.072 MB / 379.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2978, allocations: 0 / 379.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.2982, allocations: 79.19 kB / 379.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.2983, allocations: 59.31 kB / 379.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.2984, allocations: 13.05 kB / 379.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.2994, allocations: 1.757 MB / 381 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2995, allocations: 0 / 381 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3007, allocations: 0.747 MB / 381.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3008, allocations: 146.9 kB / 381.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.3009, allocations: 6.719 kB / 381.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3011, allocations: 24.42 kB / 381.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.3012, allocations: 36.06 kB / 381.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3012, allocations: 14.02 kB / 382 MB, free: 17.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3014, allocations: 192.8 kB / 382.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3014, allocations: 1.062 kB / 382.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.3022, allocations: 240.8 kB / 382.4 MB, free: 17.49 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.0001865/0.3024, allocations: 130.7 kB / 382.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3039, allocations: 0.8913 MB / 383.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3039, allocations: 448 / 383.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.3044, allocations: 347 kB / 383.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3048, allocations: 44.73 kB / 383.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.306, allocations: 0.8522 MB / 384.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3063, allocations: 0.8245 MB / 385.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.3065, allocations: 70 kB / 385.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.3067, allocations: 35.36 kB / 385.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3067, allocations: 1.125 kB / 385.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008879/0.3155, allocations: 4.786 MB / 390.3 MB, free: 14.76 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 gbode -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