Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 184.2 kB / 8.135 MB, free: 2.199 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.239/1.239, allocations: 221.4 MB / 229.9 MB, free: 3.039 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.0008923/0.0008923, allocations: 98.11 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.235e-06, allocations: 4 kB / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1764, allocations: 50.39 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08653/0.2629, allocations: 83.62 MB / 470.6 MB, free: 3.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.2632, allocations: 83.94 kB / 470.6 MB, free: 3.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03605/0.2993, allocations: 13.4 MB / 484 MB, free: 5.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.2994, allocations: 16 kB / 484 MB, free: 5.637 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001884/0.3013, allocations: 0.9525 MB / 485 MB, free: 4.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3013, allocations: 11.97 kB / 485 MB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.3016, allocations: 98.81 kB / 485.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3027, allocations: 0.6071 MB / 485.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3027, allocations: 20 kB / 485.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3028, allocations: 43.91 kB / 485.8 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/0.304, allocations: 0.6976 MB / 486.5 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3052, allocations: 0.7996 MB / 487.3 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3053, allocations: 3.938 kB / 487.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.3053, allocations: 7.984 kB / 487.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.3054, allocations: 33.31 kB / 487.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.3093, allocations: 2.715 MB / 490 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.3099, allocations: 443.8 kB / 490.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.3105, allocations: 355 kB / 490.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.3106, allocations: 8.328 kB / 490.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/0.311, allocations: 337.9 kB / 491.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/0.311, allocations: 0 / 491.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001082/0.3121, allocations: 0.6222 MB / 491.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3122, allocations: 114.8 kB / 491.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.3128, allocations: 481 kB / 492.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3128, allocations: 25.7 kB / 492.4 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.313, allocations: 291.8 kB / 492.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3131, allocations: 130.1 kB / 492.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.3132, allocations: 0 / 492.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3133, allocations: 362.8 kB / 493.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3136, allocations: 204.9 kB / 493.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.3139, allocations: 323.2 kB / 493.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.3143, allocations: 227.7 kB / 493.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3143, allocations: 4 kB / 493.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001022/0.3153, allocations: 0.6617 MB / 494.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3153, allocations: 8 kB / 494.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3153, allocations: 7.938 kB / 494.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.3158, allocations: 204.8 kB / 494.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.3162, allocations: 83.89 kB / 494.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.3187, allocations: 2.379 MB / 497.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.3191, allocations: 39.67 kB / 497.3 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.3192, allocations: 20 kB / 497.3 MB, free: 7.898 MB / 378.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_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.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 (43): * Single equations (assignments): 42 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3194, allocations: 132.6 kB / 497.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3195, allocations: 59.33 kB / 497.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3196, allocations: 61.03 kB / 497.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3196, allocations: 11.94 kB / 497.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3196, allocations: 0 / 497.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3196, allocations: 3.984 kB / 497.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.3218, allocations: 1.48 MB / 499 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3218, allocations: 0 / 499 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.3221, allocations: 51.91 kB / 499.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.3225, allocations: 196.8 kB / 499.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.3225, allocations: 8 kB / 499.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.3249, allocations: 2.352 MB / 0.4899 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3249, allocations: 3.938 kB / 0.4899 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/0.3263, allocations: 1.041 MB / 0.4909 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.3265, allocations: 192.3 kB / 0.4911 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.3266, allocations: 4 kB / 0.4911 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.327, allocations: 19.97 kB / 0.4911 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.3271, allocations: 27.95 kB / 0.4911 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3271, allocations: 20 kB / 0.4911 GB, free: 2.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004422/0.3276, allocations: 375.1 kB / 0.4915 GB, free: 1.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006248/0.3282, allocations: 191.3 kB / 0.4917 GB, free: 1.473 MB / 378.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_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 (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.0001843/0.3284, allocations: 127.9 kB / 0.4918 GB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.3293, allocations: 0.6229 MB / 0.4924 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3294, allocations: 0 / 0.4924 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.3299, allocations: 414.2 kB / 0.4928 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.3305, allocations: 106.5 kB / 0.4929 GB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09636/0.4269, allocations: 1.075 MB / 0.494 GB, free: 134.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.4275, allocations: 1.122 MB / 0.4951 GB, free: 134.1 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4275, allocations: 0 / 0.4951 GB, free: 134.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01223/0.4397, allocations: 8.124 MB / 0.503 GB, free: 134 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches