Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 184 kB / 8.135 MB, free: 2.207 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.19/1.19, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009753/0.0009753, allocations: 103.7 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.438e-06, allocations: 4 kB / 336.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 50.39 MB / 386.9 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09006/0.2961, allocations: 84.32 MB / 471.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.2964, allocations: 92.97 kB / 471.3 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05401/0.3505, allocations: 21.17 MB / 492.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.646e-05/0.3506, allocations: 31.94 kB / 492.5 MB, free: 13.12 MB / 378.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.002508/0.3531, allocations: 1.386 MB / 493.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3531, allocations: 12.03 kB / 493.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.3534, allocations: 154.2 kB / 494.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.3549, allocations: 0.9572 MB / 495 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.355, allocations: 32 kB / 495.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3551, allocations: 67.91 kB / 495.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/0.357, allocations: 1.242 MB / 496.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.359, allocations: 1.353 MB / 497.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.359, allocations: 0 / 497.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.22e-05/0.3591, allocations: 8 kB / 497.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/0.3592, allocations: 50.02 kB / 497.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.366, allocations: 4.824 MB / 0.4908 GB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3671, allocations: 0.8356 MB / 0.4917 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/0.368, allocations: 0.7045 MB / 0.4923 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.3681, allocations: 12.64 kB / 0.4924 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/0.3688, allocations: 0.5525 MB / 0.4929 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 7.223e-06/0.3689, allocations: 0 / 0.4929 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.1187/0.4875, allocations: 1.143 MB / 0.494 GB, free: 130.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4876, allocations: 85.48 kB / 0.4941 GB, free: 130.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4886, allocations: 0.7757 MB / 0.4948 GB, free: 130 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.4888, allocations: 25.7 kB / 0.4949 GB, free: 130 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.489, allocations: 419 kB / 0.4953 GB, free: 129.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.4892, allocations: 222.6 kB / 0.4955 GB, free: 129.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.4893, allocations: 3.875 kB / 0.4955 GB, free: 129.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.4893, allocations: 329.1 kB / 0.4958 GB, free: 129.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.4898, allocations: 377.6 kB / 0.4962 GB, free: 129.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.4902, allocations: 0.5011 MB / 0.4967 GB, free: 129.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.4907, allocations: 416 kB / 0.497 GB, free: 129.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4907, allocations: 3.594 kB / 0.4971 GB, free: 129.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001485/0.4922, allocations: 1.177 MB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4923, allocations: 3.688 kB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4923, allocations: 3.688 kB / 0.4982 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008009/0.4931, allocations: 404.2 kB / 0.4986 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.4936, allocations: 120.9 kB / 0.4987 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.4973, allocations: 3.687 MB / 0.5023 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.498, allocations: 66.94 kB / 0.5024 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.498, allocations: 25.94 kB / 0.5024 GB, free: 128 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.0001746/0.4982, allocations: 133.5 kB / 0.5025 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4984, allocations: 92.09 kB / 0.5026 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4986, allocations: 105.8 kB / 0.5027 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4987, allocations: 11.53 kB / 0.5027 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4987, allocations: 3.688 kB / 0.5027 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4987, allocations: 3.938 kB / 0.5027 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.502, allocations: 2.329 MB / 0.505 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.502, allocations: 0 / 0.505 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.5025, allocations: 89.52 kB / 0.5051 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007462/0.5033, allocations: 401.3 kB / 0.5055 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.5033, allocations: 3.469 kB / 0.5055 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.507, allocations: 3.642 MB / 0.509 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.507, allocations: 1.859 kB / 0.509 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002032/0.509, allocations: 1.856 MB / 0.5109 GB, free: 126 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.5095, allocations: 280.1 kB / 0.5111 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.5097, allocations: 0 / 0.5111 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.5102, allocations: 33.2 kB / 0.5111 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.5104, allocations: 62.3 kB / 0.5112 GB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.5105, allocations: 18.89 kB / 0.5112 GB, free: 125.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007374/0.5112, allocations: 0.6104 MB / 0.5118 GB, free: 125.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008862/0.5121, allocations: 310.2 kB / 0.5121 GB, free: 125.7 MB / 378.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.0001821/0.5123, allocations: 129.5 kB / 0.5122 GB, free: 125.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.5138, allocations: 1.118 MB / 0.5133 GB, free: 125.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5138, allocations: 3.75 kB / 0.5133 GB, free: 125.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009302/0.5148, allocations: 0.6793 MB / 0.514 GB, free: 125.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008664/0.5156, allocations: 197.3 kB / 0.5142 GB, free: 125.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5193, allocations: 1.877 MB / 0.516 GB, free: 125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5203, allocations: 1.444 MB / 0.5174 GB, free: 124.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5203, allocations: 0 / 0.5174 GB, free: 124.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02343/0.5438, allocations: 14.54 MB / 0.5316 GB, free: 120.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches