Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_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 trunk/package.mo): time 0.001732/0.001732, allocations: 196.1 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.0008724, allocations: 95.31 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.05e-05, allocations: 4 kB / 343.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 51.48 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/0.3964, allocations: 85.63 MB / 480.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3966, allocations: 87.77 kB / 480.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04996/0.4466, allocations: 20.45 MB / 0.4891 GB, free: 6.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001187/0.4468, allocations: 35.92 kB / 0.4891 GB, free: 6.898 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003148/0.4499, allocations: 1.307 MB / 0.4904 GB, free: 5.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.45, allocations: 8.031 kB / 0.4904 GB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.4508, allocations: 182.3 kB / 0.4906 GB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/0.4552, allocations: 1.668 MB / 0.4922 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.4553, allocations: 32 kB / 0.4922 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.4556, allocations: 60.47 kB / 0.4923 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002153/0.4577, allocations: 1.146 MB / 0.4934 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.46, allocations: 1.277 MB / 0.4946 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.46, allocations: 0 / 0.4946 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.4601, allocations: 4 kB / 0.4946 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.4602, allocations: 41.98 kB / 0.4947 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/0.467, allocations: 4.19 MB / 0.4988 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4682, allocations: 0.8861 MB / 0.4996 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.4694, allocations: 0.809 MB / 0.5004 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.4695, allocations: 12.66 kB / 0.5004 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/0.4702, allocations: 0.5495 MB / 0.501 GB, free: 12.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.555e-06/0.4702, allocations: 3.938 kB / 0.501 GB, free: 12.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.002087/0.4723, allocations: 1.202 MB / 0.5022 GB, free: 10.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4725, allocations: 111.5 kB / 0.5023 GB, free: 10.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.4735, allocations: 0.6755 MB / 0.5029 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.4736, allocations: 29.7 kB / 0.503 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.4739, allocations: 379.8 kB / 0.5033 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4742, allocations: 236.5 kB / 0.5035 GB, free: 9.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.4742, allocations: 0 / 0.5035 GB, free: 9.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4744, allocations: 406.7 kB / 0.5039 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.475, allocations: 377.4 kB / 0.5043 GB, free: 8.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.4756, allocations: 0.5138 MB / 0.5048 GB, free: 8.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.4761, allocations: 422.9 kB / 0.5052 GB, free: 7.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4762, allocations: 4 kB / 0.5052 GB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001834/0.478, allocations: 1.23 MB / 0.5064 GB, free: 6.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.478, allocations: 8 kB / 0.5064 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.478, allocations: 4 kB / 0.5064 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.4792, allocations: 487.8 kB / 0.5069 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4796, allocations: 91.83 kB / 0.507 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/0.4856, allocations: 4.789 MB / 0.5116 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.4863, allocations: 59.62 kB / 0.5117 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.4864, allocations: 32 kB / 0.5117 GB, free: 0.9219 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.0002062/0.4866, allocations: 126.5 kB / 0.5119 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4868, allocations: 86.97 kB / 0.5119 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4871, allocations: 100.3 kB / 0.512 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4871, allocations: 12 kB / 0.512 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4871, allocations: 0 / 0.512 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4871, allocations: 7.984 kB / 0.512 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.4911, allocations: 2.442 MB / 0.5144 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4911, allocations: 0 / 0.5144 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.4914, allocations: 55.97 kB / 0.5145 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4925, allocations: 476.5 kB / 0.5149 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.4925, allocations: 7.906 kB / 0.515 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006013/0.4985, allocations: 4.73 MB / 0.5196 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4986, allocations: 0 / 0.5196 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002681/0.5013, allocations: 1.88 MB / 0.5214 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.5019, allocations: 271.9 kB / 0.5217 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.5021, allocations: 3.984 kB / 0.5217 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.5026, allocations: 31.95 kB / 0.5217 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5028, allocations: 52.48 kB / 0.5217 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.5028, allocations: 27.98 kB / 0.5218 GB, free: 6.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007885/0.5036, allocations: 0.538 MB / 0.5223 GB, free: 5.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001105/0.5047, allocations: 299 kB / 0.5226 GB, free: 5.59 MB / 394.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.0002354/0.505, allocations: 129 kB / 0.5227 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.5069, allocations: 1.136 MB / 0.5238 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5069, allocations: 256 / 0.5238 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.508, allocations: 0.6988 MB / 0.5245 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5092, allocations: 206.8 kB / 0.5247 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.5133, allocations: 1.789 MB / 0.5264 GB, free: 1.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.5146, allocations: 1.369 MB / 0.5278 GB, free: 188 kB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5146, allocations: 0 / 0.5278 GB, free: 188 kB / 394.7 MB Notification: Performance of Templates: time 0.02823/0.5428, allocations: 15.83 MB / 0.5432 GB, free: 0.5938 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches