Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 183.6 kB / 18.04 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 224.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 85.66 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 47.56 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08519/0.2691, allocations: 82.95 MB / 460 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.2694, allocations: 83.95 kB / 460.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04349/0.3129, allocations: 18.06 MB / 478.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.313, allocations: 7.938 kB / 478.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.313, allocations: 8 kB / 478.1 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002076/0.3151, allocations: 0.8508 MB / 479 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3151, allocations: 12.03 kB / 479 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.3182, allocations: 459.7 kB / 479.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.3187, allocations: 359.9 kB / 479.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.3188, allocations: 50.38 kB / 479.8 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3189, allocations: 68.38 kB / 479.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3204, allocations: 0.8256 MB / 480.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.3204, allocations: 3.938 kB / 480.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.3205, allocations: 31.94 kB / 480.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3205, allocations: 16 kB / 480.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.3222, allocations: 0.8824 MB / 481.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.3265, allocations: 2.791 MB / 484.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.3285, allocations: 2.015 MB / 486.5 MB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.329, allocations: 282.1 kB / 486.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.3291, allocations: 93.91 kB / 486.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3292, allocations: 42.94 kB / 486.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.735e-06/0.3292, allocations: 0 / 486.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002055/0.3313, allocations: 0.934 MB / 487.8 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3313, allocations: 85.55 kB / 487.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3316, allocations: 303.2 kB / 488.2 MB, free: 0.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3317, allocations: 29.7 kB / 488.2 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3318, allocations: 283.8 kB / 488.5 MB, free: 188 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.332, allocations: 185.4 kB / 488.7 MB, free: 0 / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.332, allocations: 8.078 kB / 488.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3321, allocations: 350.7 kB / 489 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.3326, allocations: 233.2 kB / 489.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.3332, allocations: 443.2 kB / 489.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3343, allocations: 0.6796 MB / 490.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3343, allocations: 4 kB / 490.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001414/0.3357, allocations: 0.771 MB / 491.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.3359, allocations: 272.4 kB / 491.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3359, allocations: 7.938 kB / 491.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.3361, allocations: 56.83 kB / 491.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3367, allocations: 147.8 kB / 491.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.338, allocations: 1.596 MB / 493.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3385, allocations: 83.2 kB / 493.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.3385, allocations: 31.98 kB / 493.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.3386, allocations: 7.938 kB / 493.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.3397, allocations: 0.6881 MB / 494 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3398, allocations: 4.156 kB / 494 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.3399, allocations: 57.2 kB / 494.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3404, allocations: 143.8 kB / 494.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.3416, allocations: 1.508 MB / 495.7 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.342, allocations: 71.36 kB / 495.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.342, allocations: 31.98 kB / 495.8 MB, free: 8.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.3423, allocations: 272.8 kB / 496.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.3424, allocations: 43.59 kB / 496.1 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3437, allocations: 0.6709 MB / 496.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.3437, allocations: 8 kB / 496.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3437, allocations: 4 kB / 496.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3438, allocations: 7.969 kB / 496.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.3458, allocations: 1.394 MB / 498.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3459, allocations: 0 / 498.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3463, allocations: 103.9 kB / 498.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.3464, allocations: 48.83 kB / 498.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3465, allocations: 15.98 kB / 498.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3478, allocations: 1.58 MB / 500 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3478, allocations: 3.938 kB / 500 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3495, allocations: 1.029 MB / 0.4893 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.3497, allocations: 160.5 kB / 0.4894 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3497, allocations: 8 kB / 0.4894 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.35, allocations: 36.05 kB / 0.4895 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.3501, allocations: 36.38 kB / 0.4895 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3502, allocations: 19.98 kB / 0.4895 GB, free: 2.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3504, allocations: 202 kB / 0.4897 GB, free: 2.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3504, allocations: 0 / 0.4897 GB, free: 2.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009668/0.3514, allocations: 299 kB / 0.49 GB, free: 2.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002393/0.3516, allocations: 158.7 kB / 0.4901 GB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.3537, allocations: 1.209 MB / 0.4913 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3537, allocations: 4 kB / 0.4913 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.3543, allocations: 433.9 kB / 0.4917 GB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.3548, allocations: 44.64 kB / 0.4918 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/0.4925, allocations: 1.272 MB / 0.493 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4929, allocations: 0.8427 MB / 0.4938 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001468/0.4944, allocations: 1.092 MB / 0.4949 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4945, allocations: 48.72 kB / 0.495 GB, free: 101.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4945, allocations: 2.719 kB / 0.495 GB, free: 101.6 MB / 378.7 MB Notification: Performance of Templates: time 0.009965/0.5045, allocations: 5.791 MB / 0.5006 GB, free: 101.4 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches