Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009867/0.0009868, allocations: 183.8 kB / 8.475 MB, free: 0.5391 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.2 MB / 214.1 MB, free: 8.695 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 90.03 kB / 262.1 MB, free: 5.094 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/6.042e-06, allocations: 0 / 315 MB, free: 2.074 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.088, allocations: 47.57 MB / 362.6 MB, free: 2.387 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.3216, allocations: 79.71 MB / 442.3 MB, free: 7.777 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.3218, allocations: 82.25 kB / 442.3 MB, free: 7.73 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.0145/0.3363, allocations: 5.94 MB / 448.3 MB, free: 2.93 MB / 322.8 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.3364, allocations: 12 kB / 448.3 MB, free: 2.918 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008374/0.3372, allocations: 0.6093 MB / 448.9 MB, free: 2.293 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3373, allocations: 8.031 kB / 448.9 MB, free: 2.285 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3374, allocations: 47.44 kB / 449 MB, free: 2.238 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.3378, allocations: 338.9 kB / 449.3 MB, free: 1.902 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3378, allocations: 12 kB / 449.3 MB, free: 1.891 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.3379, allocations: 29.02 kB / 449.3 MB, free: 1.867 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003715/0.3383, allocations: 211.2 kB / 449.5 MB, free: 1.738 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.3387, allocations: 311.1 kB / 449.8 MB, free: 1.496 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3387, allocations: 3.938 kB / 449.8 MB, free: 1.492 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3388, allocations: 0 / 449.8 MB, free: 1.492 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.3388, allocations: 8 kB / 449.9 MB, free: 1.484 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3406, allocations: 1.401 MB / 451.3 MB, free: 240 kB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.3409, allocations: 198.7 kB / 451.5 MB, free: 100 kB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3412, allocations: 145.8 kB / 451.6 MB, free: 15.99 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3412, allocations: 8.219 kB / 451.6 MB, free: 15.98 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.3415, allocations: 182.6 kB / 451.8 MB, free: 15.83 MB / 338.8 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.3415, allocations: 0 / 451.8 MB, free: 15.83 MB / 338.8 MB Notification: Performance of matching and sorting (n=31): time 0.0006412/0.3421, allocations: 287.4 kB / 452.1 MB, free: 15.61 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.3422, allocations: 114.8 kB / 452.2 MB, free: 15.47 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3425, allocations: 234.5 kB / 452.4 MB, free: 15.29 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3425, allocations: 29.7 kB / 452.4 MB, free: 15.25 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3426, allocations: 177.2 kB / 452.6 MB, free: 15.09 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.3427, allocations: 97.14 kB / 452.7 MB, free: 15.01 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.3428, allocations: 0 / 452.7 MB, free: 15.01 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3429, allocations: 345.5 kB / 453 MB, free: 14.67 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3431, allocations: 71.5 kB / 453.1 MB, free: 14.63 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3433, allocations: 182.6 kB / 453.3 MB, free: 14.44 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3435, allocations: 97.98 kB / 453.4 MB, free: 14.37 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3435, allocations: 4 kB / 453.4 MB, free: 14.37 MB / 338.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005844/0.3441, allocations: 336.8 kB / 453.7 MB, free: 14.1 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3441, allocations: 4 kB / 453.7 MB, free: 14.1 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3441, allocations: 4 kB / 453.7 MB, free: 14.09 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.3444, allocations: 78.94 kB / 453.8 MB, free: 14.03 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3447, allocations: 59.61 kB / 453.9 MB, free: 13.98 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.3462, allocations: 1.592 MB / 455.4 MB, free: 12.44 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3465, allocations: 27.83 kB / 455.5 MB, free: 12.41 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3465, allocations: 15.62 kB / 455.5 MB, free: 12.4 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3467, allocations: 135.4 kB / 455.6 MB, free: 12.27 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.3467, allocations: 36.64 kB / 455.7 MB, free: 12.23 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.3468, allocations: 37.08 kB / 455.7 MB, free: 12.21 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3468, allocations: 7.984 kB / 455.7 MB, free: 12.2 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3468, allocations: 0 / 455.7 MB, free: 12.2 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3468, allocations: 0 / 455.7 MB, free: 12.2 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.3475, allocations: 0.5048 MB / 456.2 MB, free: 11.74 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3475, allocations: 32 / 456.2 MB, free: 11.74 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3477, allocations: 40.92 kB / 456.2 MB, free: 11.7 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002421/0.348, allocations: 74.78 kB / 456.3 MB, free: 11.64 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.348, allocations: 5.109 kB / 456.3 MB, free: 11.64 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.3496, allocations: 1.587 MB / 457.9 MB, free: 10.11 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3496, allocations: 6.625 kB / 457.9 MB, free: 10.11 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007154/0.3503, allocations: 449.5 kB / 458.4 MB, free: 9.758 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3505, allocations: 140.3 kB / 458.5 MB, free: 9.617 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.3505, allocations: 0.875 kB / 458.5 MB, free: 9.617 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3507, allocations: 15.98 kB / 458.5 MB, free: 9.602 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.3508, allocations: 19.47 kB / 458.5 MB, free: 9.586 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.3508, allocations: 5.75 kB / 458.5 MB, free: 9.582 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.0001996/0.351, allocations: 189.7 kB / 458.7 MB, free: 9.434 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.000424/0.3515, allocations: 100.4 kB / 458.8 MB, free: 9.336 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.3517, allocations: 120.6 kB / 458.9 MB, free: 9.215 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0005877/0.3522, allocations: 335.9 kB / 459.3 MB, free: 8.945 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3523, allocations: 0 / 459.3 MB, free: 8.945 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.3526, allocations: 229.5 kB / 459.5 MB, free: 8.75 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3529, allocations: 37.41 kB / 459.5 MB, free: 8.723 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.354, allocations: 484.9 kB / 460 MB, free: 8.266 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.3544, allocations: 0.8353 MB / 460.8 MB, free: 7.406 MB / 338.8 MB Notification: Performance of SimCode: time 4.21e-07/0.3544, allocations: 0 / 460.8 MB, free: 7.406 MB / 338.8 MB Notification: Performance of Templates: time 0.008088/0.3625, allocations: 4.113 MB / 464.9 MB, free: 3.395 MB / 338.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches