Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 183.8 kB / 8.138 MB, free: 2.223 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.168/1.168, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.001072/0.001072, allocations: 92.78 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.953e-06, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1902, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08717/0.2774, allocations: 81 MB / 467.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.2778, allocations: 89.28 kB / 468 MB, free: 5.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01799/0.2958, allocations: 6.137 MB / 474.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.2958, allocations: 8 kB / 474.2 MB, free: 15.59 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001128/0.297, allocations: 0.6225 MB / 474.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.297, allocations: 11.97 kB / 474.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2972, allocations: 55.44 kB / 474.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.2977, allocations: 339.6 kB / 475.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2978, allocations: 18.34 kB / 475.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/0.2979, allocations: 24 kB / 475.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005392/0.2984, allocations: 209.5 kB / 475.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.2989, allocations: 315.1 kB / 475.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.299, allocations: 0 / 475.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.299, allocations: 12 kB / 475.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.299, allocations: 8 kB / 475.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.301, allocations: 1.408 MB / 477.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3013, allocations: 199.2 kB / 477.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.3016, allocations: 145.3 kB / 477.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3016, allocations: 4.234 kB / 477.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.3019, allocations: 186 kB / 477.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.3019, allocations: 0 / 477.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006608/0.3026, allocations: 285.9 kB / 478 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3027, allocations: 114.8 kB / 478.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3029, allocations: 227.5 kB / 478.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.303, allocations: 33.73 kB / 478.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3031, allocations: 184.3 kB / 478.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3032, allocations: 90.66 kB / 478.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.3032, allocations: 0 / 478.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3034, allocations: 346.7 kB / 478.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3035, allocations: 71.59 kB / 479 MB, free: 10.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.3037, allocations: 199.3 kB / 479.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3039, allocations: 90.66 kB / 479.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3039, allocations: 3.938 kB / 479.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005756/0.3045, allocations: 332.3 kB / 479.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3045, allocations: 8.656 kB / 479.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3045, allocations: 6.969 kB / 479.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.3048, allocations: 89.22 kB / 479.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3051, allocations: 60.66 kB / 479.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.3068, allocations: 1.601 MB / 481.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.307, allocations: 23.91 kB / 481.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.3071, allocations: 19.91 kB / 481.4 MB, free: 7.879 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: 11 ($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.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.000127/0.3072, allocations: 124.8 kB / 481.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.3073, allocations: 31.81 kB / 481.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.3074, allocations: 35.03 kB / 481.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3074, allocations: 7.938 kB / 481.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3074, allocations: 4 kB / 481.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3074, allocations: 0 / 481.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/0.3081, allocations: 0.5072 MB / 482.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3081, allocations: 0 / 482.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3083, allocations: 27.98 kB / 482.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.3085, allocations: 84.78 kB / 482.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3086, allocations: 0 / 482.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.3101, allocations: 1.6 MB / 483.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3102, allocations: 0 / 483.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007723/0.3109, allocations: 456.8 kB / 484.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3111, allocations: 132.6 kB / 484.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.3112, allocations: 3.984 kB / 484.4 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3114, allocations: 12 kB / 484.4 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.3114, allocations: 19.97 kB / 484.4 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3115, allocations: 15.98 kB / 484.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000173/0.3116, allocations: 179.1 kB / 484.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00044/0.3121, allocations: 111.6 kB / 484.7 MB, free: 4.328 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001584/0.3123, allocations: 103.3 kB / 484.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.3129, allocations: 345.9 kB / 485.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3129, allocations: 7.922 kB / 485.2 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.3132, allocations: 230.6 kB / 485.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3135, allocations: 43.09 kB / 485.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3146, allocations: 480.1 kB / 485.9 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.3151, allocations: 0.8336 MB / 486.8 MB, free: 2.227 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3151, allocations: 4 kB / 486.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of Templates: time 0.008298/0.3234, allocations: 4.14 MB / 490.9 MB, free: 14.17 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches