Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 117.5 kB / 17.83 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 199.8 kB / 18.78 MB, free: 4.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 249.8 MB, free: 9.285 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 55.91 kB / 367.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2679, allocations: 53.31 MB / 420.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005592/0.2735, allocations: 3.986 MB / 424.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2763, allocations: 1.643 MB / 426 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.2765, allocations: 12 kB / 426 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.2784, allocations: 0.785 MB / 426.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.2793, allocations: 370 kB / 427.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.2806, allocations: 0.6801 MB / 427.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.2812, allocations: 0.5293 MB / 428.4 MB, free: 432 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.2818, allocations: 399.9 kB / 428.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.2822, allocations: 243.2 kB / 429 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2825, allocations: 298.8 kB / 429.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.2826, allocations: 52 kB / 429.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.2831, allocations: 251.7 kB / 429.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2832, allocations: 123.5 kB / 429.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2834, allocations: 266.7 kB / 430 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.2844, allocations: 0.8056 MB / 430.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2844, allocations: 3.938 kB / 430.8 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2844, allocations: 0 / 430.8 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2844, allocations: 0 / 430.8 MB, free: 14 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.002246/0.2866, allocations: 0.9704 MB / 431.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2867, allocations: 8.031 kB / 431.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.2896, allocations: 392.2 kB / 432.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.2902, allocations: 365.4 kB / 432.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.2902, allocations: 49.62 kB / 432.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.2903, allocations: 59.94 kB / 432.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2915, allocations: 0.6276 MB / 433.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2915, allocations: 4 kB / 433.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.2916, allocations: 24 kB / 433.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2916, allocations: 16 kB / 433.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2928, allocations: 0.5751 MB / 433.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.2963, allocations: 2.245 MB / 436.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.298, allocations: 1.146 MB / 437.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.2984, allocations: 172.8 kB / 437.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.2985, allocations: 178.5 kB / 437.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2986, allocations: 38.56 kB / 437.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.2986, allocations: 3.938 kB / 437.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001824/0.3004, allocations: 0.6864 MB / 438.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3004, allocations: 55.41 kB / 438.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.3007, allocations: 278.5 kB / 438.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3008, allocations: 37.7 kB / 438.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.301, allocations: 241 kB / 438.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3011, allocations: 170.5 kB / 439.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3013, allocations: 82.25 kB / 439.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3014, allocations: 342.8 kB / 439.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.3018, allocations: 155 kB / 439.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.3023, allocations: 249.9 kB / 439.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.3031, allocations: 437.7 kB / 440.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3032, allocations: 4 kB / 440.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001178/0.3043, allocations: 0.5261 MB / 440.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3044, allocations: 12.03 kB / 440.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3044, allocations: 4 kB / 440.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.3046, allocations: 52.77 kB / 440.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.3051, allocations: 99.88 kB / 441 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.3068, allocations: 1.767 MB / 442.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3072, allocations: 59.67 kB / 442.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3072, allocations: 28.05 kB / 442.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004633/0.3077, allocations: 269.1 kB / 443.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004182/0.3081, allocations: 253.6 kB / 443.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007739/0.3089, allocations: 427.6 kB / 443.8 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.3089, allocations: 0 / 443.8 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001114/0.31, allocations: 0.5132 MB / 444.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.31, allocations: 15.88 kB / 444.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.31, allocations: 4 kB / 444.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.3102, allocations: 48.83 kB / 444.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.3106, allocations: 99.88 kB / 444.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.3123, allocations: 1.763 MB / 446.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.3126, allocations: 39.84 kB / 446.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.3126, allocations: 23.98 kB / 446.3 MB, free: 13.43 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.0001722/0.3128, allocations: 200.2 kB / 446.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.3129, allocations: 39.7 kB / 446.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.3141, allocations: 0.4967 MB / 447 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3141, allocations: 7.938 kB / 447.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3141, allocations: 7.938 kB / 447.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3141, allocations: 7.984 kB / 447.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.316, allocations: 1.077 MB / 448.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.316, allocations: 4 kB / 448.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.3164, allocations: 79.89 kB / 448.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.3166, allocations: 52.81 kB / 448.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.3166, allocations: 12 kB / 448.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.3183, allocations: 1.763 MB / 450.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3183, allocations: 0 / 450.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.3198, allocations: 0.7503 MB / 450.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.32, allocations: 152.7 kB / 451 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.3201, allocations: 12 kB / 451 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.3203, allocations: 20.05 kB / 451 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.3204, allocations: 32.52 kB / 451 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3204, allocations: 19.98 kB / 451 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3207, allocations: 190 kB / 451.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3207, allocations: 0 / 451.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008724/0.3215, allocations: 247.3 kB / 451.5 MB, free: 8.035 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.0002357/0.3218, allocations: 138.1 kB / 451.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.3235, allocations: 0.8378 MB / 452.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3235, allocations: 64 / 452.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.3241, allocations: 321.1 kB / 452.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3245, allocations: 47.14 kB / 452.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.326, allocations: 0.8546 MB / 453.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.3265, allocations: 0.8249 MB / 454.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.3268, allocations: 75.22 kB / 454.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3269, allocations: 39.42 kB / 454.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3269, allocations: 0 / 454.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01076/0.3377, allocations: 4.997 MB / 459.6 MB, free: 15.83 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches