Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [: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.001605/0.001605, allocations: 178.9 kB / 8.151 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.2 MB / 213.8 MB, free: 14.01 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.001262/0.001262, allocations: 94.8 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.777e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2628, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3857, allocations: 82.51 MB / 444.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.386, allocations: 90 kB / 444.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05527/0.4413, allocations: 13.09 MB / 457.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.8e-05/0.4414, allocations: 16 kB / 457.6 MB, free: 6.359 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002532/0.444, allocations: 0.9365 MB / 458.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4441, allocations: 12.03 kB / 458.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.4443, allocations: 86.97 kB / 458.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.446, allocations: 0.6226 MB / 459.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.4461, allocations: 24 kB / 459.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4462, allocations: 39.91 kB / 459.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001978/0.4482, allocations: 0.6976 MB / 460 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.4503, allocations: 0.7996 MB / 460.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4503, allocations: 0 / 460.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.4504, allocations: 4 kB / 460.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.4505, allocations: 33.3 kB / 460.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/0.4572, allocations: 2.692 MB / 463.5 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4583, allocations: 451.3 kB / 463.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4594, allocations: 377.2 kB / 464.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.4594, allocations: 8.328 kB / 464.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007492/0.4602, allocations: 326.1 kB / 464.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/0.4602, allocations: 7.938 kB / 464.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001803/0.462, allocations: 0.6104 MB / 465.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.4621, allocations: 110.8 kB / 465.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009784/0.4631, allocations: 473.1 kB / 465.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.4632, allocations: 29.7 kB / 465.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.4635, allocations: 322.4 kB / 466.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.4637, allocations: 134 kB / 466.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.4637, allocations: 0 / 466.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4639, allocations: 330.8 kB / 466.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.4644, allocations: 196.9 kB / 466.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.465, allocations: 327.3 kB / 467.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.4656, allocations: 231.5 kB / 467.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4656, allocations: 0 / 467.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001752/0.4674, allocations: 0.6382 MB / 468 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4674, allocations: 4 kB / 468 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4675, allocations: 7.984 kB / 468 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.4682, allocations: 217.1 kB / 468.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.4689, allocations: 75.89 kB / 468.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.4736, allocations: 2.591 MB / 470.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.4741, allocations: 47.8 kB / 470.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.4742, allocations: 20 kB / 471 MB, free: 8.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.4744, allocations: 41.58 kB / 471 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.4746, allocations: 63.28 kB / 471.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.4748, allocations: 68.97 kB / 471.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4748, allocations: 4 kB / 471.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4749, allocations: 3.906 kB / 471.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4749, allocations: 0 / 471.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.4789, allocations: 1.6 MB / 472.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.4789, allocations: 4 kB / 472.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.4794, allocations: 63.92 kB / 472.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.4802, allocations: 189.3 kB / 473 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.4802, allocations: 11.92 kB / 473 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/0.4844, allocations: 2.354 MB / 475.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4844, allocations: 0 / 475.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002576/0.487, allocations: 1.08 MB / 476.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.4875, allocations: 188.4 kB / 476.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4876, allocations: 11.91 kB / 476.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.4881, allocations: 28.08 kB / 476.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4883, allocations: 31.89 kB / 476.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.4884, allocations: 12 kB / 476.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007211/0.4891, allocations: 379.1 kB / 477.1 MB, free: 2.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009109/0.49, allocations: 179.3 kB / 477.2 MB, free: 1.945 MB / 362.7 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.4903, allocations: 107.2 kB / 477.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.4919, allocations: 0.6268 MB / 478 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4919, allocations: 4.938 kB / 478 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.4928, allocations: 418.1 kB / 478.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4939, allocations: 114.2 kB / 478.5 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.4973, allocations: 1.092 MB / 479.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.4985, allocations: 1.112 MB / 480.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4985, allocations: 0 / 480.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02421/0.5227, allocations: 12.03 MB / 492.7 MB, free: 2.391 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches