Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [: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.001041/0.001041, allocations: 196.8 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008662/0.0008663, allocations: 86.41 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/1.004e-05, allocations: 3.938 kB / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09518, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.3662, allocations: 85.14 MB / 479.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.3664, allocations: 88.44 kB / 479.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0521/0.4185, allocations: 21.19 MB / 0.4893 GB, free: 6.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001635/0.4187, allocations: 35.92 kB / 0.4893 GB, free: 6.523 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004464/0.4232, allocations: 1.389 MB / 0.4907 GB, free: 5.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4232, allocations: 12.03 kB / 0.4907 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.4244, allocations: 234.1 kB / 0.4909 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4265, allocations: 0.9672 MB / 0.4919 GB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.4266, allocations: 32 kB / 0.4919 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.4269, allocations: 60.5 kB / 0.492 GB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/0.4292, allocations: 1.247 MB / 0.4932 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.4315, allocations: 1.353 MB / 0.4945 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.4315, allocations: 7.406 kB / 0.4945 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4316, allocations: 0 / 0.4945 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.4317, allocations: 50.03 kB / 0.4946 GB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006883/0.4386, allocations: 4.827 MB / 0.4993 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.4396, allocations: 0.8329 MB / 0.5001 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009794/0.4406, allocations: 0.7133 MB / 0.5008 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.4407, allocations: 8.656 kB / 0.5008 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/0.4414, allocations: 0.5448 MB / 0.5013 GB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.375e-06/0.4415, allocations: 0 / 0.5013 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00189/0.4434, allocations: 1.148 MB / 0.5025 GB, free: 10.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.4434, allocations: 89.75 kB / 0.5025 GB, free: 10.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4445, allocations: 0.7775 MB / 0.5033 GB, free: 9.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.4446, allocations: 25.7 kB / 0.5033 GB, free: 9.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.4449, allocations: 415.6 kB / 0.5037 GB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.4451, allocations: 224.7 kB / 0.5039 GB, free: 8.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.4452, allocations: 0 / 0.5039 GB, free: 8.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4453, allocations: 334 kB / 0.5042 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.4458, allocations: 381.4 kB / 0.5046 GB, free: 8.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.4464, allocations: 0.505 MB / 0.5051 GB, free: 7.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.4469, allocations: 418.9 kB / 0.5055 GB, free: 7.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4469, allocations: 0 / 0.5055 GB, free: 7.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001706/0.4487, allocations: 1.179 MB / 0.5067 GB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4487, allocations: 4 kB / 0.5067 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4487, allocations: 4 kB / 0.5067 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.4496, allocations: 403.5 kB / 0.507 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.4501, allocations: 115.8 kB / 0.5072 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.4545, allocations: 3.701 MB / 0.5108 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.4551, allocations: 71.39 kB / 0.5108 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.4551, allocations: 24 kB / 0.5109 GB, free: 1.613 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.4553, allocations: 126.6 kB / 0.511 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.4554, allocations: 90.88 kB / 0.5111 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4557, allocations: 112.4 kB / 0.5112 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4557, allocations: 8 kB / 0.5112 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4557, allocations: 0 / 0.5112 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4558, allocations: 7.922 kB / 0.5112 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.459, allocations: 2.339 MB / 0.5135 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.459, allocations: 0 / 0.5135 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.4594, allocations: 95.78 kB / 0.5136 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/0.4602, allocations: 392.9 kB / 0.5139 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.4603, allocations: 12 kB / 0.514 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004131/0.4644, allocations: 3.631 MB / 0.5175 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4644, allocations: 8 kB / 0.5175 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002381/0.4668, allocations: 1.848 MB / 0.5193 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.4673, allocations: 287.7 kB / 0.5196 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.4675, allocations: 0 / 0.5196 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.468, allocations: 39.95 kB / 0.5196 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.4681, allocations: 52.58 kB / 0.5197 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.4682, allocations: 19.98 kB / 0.5197 GB, free: 8.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007877/0.469, allocations: 0.62 MB / 0.5203 GB, free: 7.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000884/0.4699, allocations: 306.9 kB / 0.5206 GB, free: 7.434 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/0.4701, allocations: 127.2 kB / 0.5207 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.4717, allocations: 1.104 MB / 0.5218 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4717, allocations: 0 / 0.5218 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4727, allocations: 0.6874 MB / 0.5225 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.4736, allocations: 197.6 kB / 0.5227 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.4772, allocations: 1.885 MB / 0.5245 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.4783, allocations: 1.447 MB / 0.5259 GB, free: 1.91 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4783, allocations: 0 / 0.5259 GB, free: 1.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02423/0.5026, allocations: 14.59 MB / 0.5402 GB, free: 3.551 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches