Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 179.5 kB / 8.475 MB, free: 1.859 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.147/1.147, allocations: 205.2 MB / 214.1 MB, free: 5.133 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009603, allocations: 87.27 kB / 262.1 MB, free: 5.184 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.69e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06876/0.06878, allocations: 47.58 MB / 362.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/0.2869, allocations: 83.2 MB / 445.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2871, allocations: 84.23 kB / 445.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04892/0.3361, allocations: 20.7 MB / 466.5 MB, free: 2.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.3362, allocations: 25.41 kB / 466.6 MB, free: 2.965 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002922/0.3392, allocations: 1.369 MB / 467.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3392, allocations: 9.312 kB / 467.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.3396, allocations: 158.3 kB / 468.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.3413, allocations: 0.9576 MB / 469.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.3414, allocations: 33.25 kB / 469.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.3416, allocations: 63.78 kB / 469.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/0.3437, allocations: 1.256 MB / 470.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.3458, allocations: 1.355 MB / 471.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.3458, allocations: 1.188 kB / 471.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/0.3459, allocations: 1.281 kB / 471.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.346, allocations: 49.73 kB / 471.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007256/0.3532, allocations: 4.807 MB / 476.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.3543, allocations: 0.835 MB / 477.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009598/0.3553, allocations: 0.7077 MB / 478.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.063e-05/0.3553, allocations: 8.25 kB / 478.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/0.3561, allocations: 0.5496 MB / 478.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.3561, allocations: 3.938 kB / 478.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.002016/0.3581, allocations: 1.142 MB / 479.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3582, allocations: 89.77 kB / 480 MB, free: 11.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3593, allocations: 0.7784 MB / 480.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.3594, allocations: 25.7 kB / 480.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.3598, allocations: 413.6 kB / 481.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.36, allocations: 229 kB / 481.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.36, allocations: 0 / 481.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3601, allocations: 332.6 kB / 481.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.3606, allocations: 381.2 kB / 482.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.3612, allocations: 0.502 MB / 482.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.3617, allocations: 415.8 kB / 483 MB, free: 8.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3617, allocations: 4 kB / 483 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001739/0.3635, allocations: 1.172 MB / 484.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3635, allocations: 9.875 kB / 484.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3635, allocations: 4.438 kB / 484.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/0.3645, allocations: 398.3 kB / 484.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.365, allocations: 123.8 kB / 484.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.3696, allocations: 3.69 MB / 488.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.3704, allocations: 67.41 kB / 488.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.3705, allocations: 28 kB / 488.5 MB, free: 3.727 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0001933/0.3707, allocations: 126.7 kB / 488.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3709, allocations: 90.88 kB / 488.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.3712, allocations: 112.2 kB / 488.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3712, allocations: 11.98 kB / 488.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3712, allocations: 0 / 488.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3712, allocations: 3.984 kB / 488.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.3745, allocations: 2.337 MB / 491.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3745, allocations: 0 / 491.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.375, allocations: 83.89 kB / 491.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.3758, allocations: 392.7 kB / 491.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.3759, allocations: 11.98 kB / 491.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.3802, allocations: 3.629 MB / 495.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3802, allocations: 0 / 495.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002378/0.3826, allocations: 1.856 MB / 497.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.3831, allocations: 283.7 kB / 497.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.3833, allocations: 7.984 kB / 497.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.3837, allocations: 39.84 kB / 497.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3839, allocations: 56.56 kB / 497.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.384, allocations: 24.12 kB / 497.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007947/0.3848, allocations: 0.6084 MB / 498.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008966/0.3857, allocations: 314.8 kB / 498.4 MB, free: 9.57 MB / 346.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,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 (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.0001917/0.3859, allocations: 115.2 kB / 498.5 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3876, allocations: 1.105 MB / 499.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3876, allocations: 0 / 499.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.3885, allocations: 0.6834 MB / 0.4886 GB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008347/0.3894, allocations: 197 kB / 0.4888 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.3939, allocations: 2.111 MB / 0.4908 GB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.3951, allocations: 1.439 MB / 0.4923 GB, free: 3.844 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3951, allocations: 0 / 0.4923 GB, free: 3.844 MB / 346.7 MB Notification: Performance of Templates: time 0.0236/0.4187, allocations: 14.55 MB / 0.5065 GB, free: 5.336 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches