Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [: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 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 185.6 kB / 8.136 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 229.9 MB, free: 3.086 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 100.5 kB / 280.8 MB, free: 1.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.949e-06, allocations: 4 kB / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09021/0.3155, allocations: 84.81 MB / 471.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.3157, allocations: 87.88 kB / 471.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05198/0.3677, allocations: 20.36 MB / 492.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.458e-05/0.3678, allocations: 31.94 kB / 492.2 MB, free: 13.39 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002188/0.37, allocations: 1.299 MB / 493.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3701, allocations: 8.031 kB / 493.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.3703, allocations: 142.4 kB / 493.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.3741, allocations: 1.663 MB / 495.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.3742, allocations: 35.94 kB / 495.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3743, allocations: 63.94 kB / 495.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/0.3761, allocations: 1.152 MB / 496.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.3781, allocations: 1.267 MB / 497.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.3781, allocations: 0 / 497.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.3782, allocations: 3.906 kB / 497.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.3783, allocations: 49.98 kB / 497.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.3843, allocations: 4.188 MB / 0.4903 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.3855, allocations: 0.8858 MB / 0.4912 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.3866, allocations: 0.8064 MB / 0.492 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.3867, allocations: 12.64 kB / 0.492 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.3874, allocations: 0.5457 MB / 0.4925 GB, free: 1.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.256e-06/0.3875, allocations: 0 / 0.4925 GB, free: 1.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.1187/0.5061, allocations: 1.202 MB / 0.4937 GB, free: 130.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.5062, allocations: 110.9 kB / 0.4938 GB, free: 130.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.507, allocations: 0.6769 MB / 0.4944 GB, free: 130 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5071, allocations: 25.7 kB / 0.4945 GB, free: 129.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.5074, allocations: 384.1 kB / 0.4948 GB, free: 129.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5075, allocations: 226.8 kB / 0.4951 GB, free: 129.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.5076, allocations: 0 / 0.4951 GB, free: 129.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.5077, allocations: 393.3 kB / 0.4954 GB, free: 129.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.5081, allocations: 381.2 kB / 0.4958 GB, free: 129.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.5086, allocations: 0.519 MB / 0.4963 GB, free: 129.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.5091, allocations: 417.5 kB / 0.4967 GB, free: 129.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5091, allocations: 3.281 kB / 0.4967 GB, free: 129.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001519/0.5106, allocations: 1.23 MB / 0.4979 GB, free: 129.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5106, allocations: 5.906 kB / 0.4979 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5106, allocations: 3.781 kB / 0.4979 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009639/0.5116, allocations: 493.5 kB / 0.4984 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.512, allocations: 98.45 kB / 0.4985 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.5171, allocations: 4.777 MB / 0.5031 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.5177, allocations: 72.02 kB / 0.5032 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.5177, allocations: 25.94 kB / 0.5032 GB, free: 127.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.5179, allocations: 127.1 kB / 0.5034 GB, free: 127.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.518, allocations: 85.95 kB / 0.5034 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.5182, allocations: 101.9 kB / 0.5035 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5182, allocations: 10.81 kB / 0.5035 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5183, allocations: 0 / 0.5035 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5183, allocations: 3.234 kB / 0.5036 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.5215, allocations: 2.439 MB / 0.5059 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5215, allocations: 0 / 0.5059 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.5218, allocations: 65.23 kB / 0.506 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008912/0.5227, allocations: 478.2 kB / 0.5065 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.5227, allocations: 11.27 kB / 0.5065 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.5276, allocations: 4.723 MB / 0.5111 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5276, allocations: 0 / 0.5111 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002015/0.5296, allocations: 1.872 MB / 0.5129 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.53, allocations: 262.9 kB / 0.5132 GB, free: 125.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5302, allocations: 14.92 kB / 0.5132 GB, free: 125.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.5306, allocations: 25.2 kB / 0.5132 GB, free: 125.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.5307, allocations: 51 kB / 0.5132 GB, free: 125.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.5308, allocations: 23.61 kB / 0.5133 GB, free: 125.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005815/0.5314, allocations: 0.5274 MB / 0.5138 GB, free: 125.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009046/0.5323, allocations: 307 kB / 0.5141 GB, free: 125.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * 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 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.5325, allocations: 115.8 kB / 0.5142 GB, free: 125.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.5342, allocations: 1.141 MB / 0.5153 GB, free: 125.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5342, allocations: 4.719 kB / 0.5153 GB, free: 125.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.5353, allocations: 0.6969 MB / 0.516 GB, free: 124.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009234/0.5362, allocations: 212.6 kB / 0.5162 GB, free: 124.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.5399, allocations: 1.786 MB / 0.5179 GB, free: 124.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009649/0.5409, allocations: 1.376 MB / 0.5193 GB, free: 123.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5409, allocations: 1.188 kB / 0.5193 GB, free: 123.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02371/0.5646, allocations: 15.75 MB / 0.5347 GB, free: 117.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches