Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 80.92 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 167.5 kB / 25.7 MB, free: 8.398 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8923/0.8923, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.281e-05, allocations: 10.11 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008041/0.008064, allocations: 3.618 MB / 255.2 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.01014, allocations: 1.072 MB / 256.3 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.01038, allocations: 19.81 kB / 256.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.01065, allocations: 115.1 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/0.01137, allocations: 246.3 kB / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.01169, allocations: 151.6 kB / 256.8 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000992/0.01268, allocations: 0.9957 MB / 257.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.01314, allocations: 310.9 kB / 258.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.01386, allocations: 0.5886 MB / 258.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.01458, allocations: 470.9 kB / 259.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01473, allocations: 100 kB / 259.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.01487, allocations: 100 kB / 259.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.0151, allocations: 295.1 kB / 259.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.01544, allocations: 323.3 kB / 260 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008723/0.01632, allocations: 0.7632 MB / 260.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01632, allocations: 4 kB / 260.7 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01632, allocations: 0 / 260.7 MB, free: 14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.01634, allocations: 0 / 260.7 MB, free: 14 MB / 250.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.00159/0.01793, allocations: 1.022 MB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.01798, allocations: 11.98 kB / 261.8 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.01816, allocations: 104.8 kB / 261.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.01875, allocations: 379.3 kB / 262.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.0188, allocations: 49.69 kB / 262.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/0.01889, allocations: 68.36 kB / 262.3 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.01971, allocations: 0.5412 MB / 262.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.01973, allocations: 3.984 kB / 262.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.01979, allocations: 24 kB / 262.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.01984, allocations: 33.3 kB / 262.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.02024, allocations: 157 kB / 263.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.0229, allocations: 1.709 MB / 264.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.02328, allocations: 227.4 kB / 265 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.02351, allocations: 117.4 kB / 265.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.02353, allocations: 8.266 kB / 265.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.02388, allocations: 239.7 kB / 265.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.02388, allocations: 0 / 265.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001312/0.0252, allocations: 444.4 kB / 265.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.02525, allocations: 106.8 kB / 265.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.02564, allocations: 395.3 kB / 266.3 MB, free: 8.176 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.02568, allocations: 37.7 kB / 266.4 MB, free: 8.133 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.02586, allocations: 301.5 kB / 266.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.02597, allocations: 146.8 kB / 266.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.02634, allocations: 90.09 kB / 266.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.02646, allocations: 366.7 kB / 267.2 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.02656, allocations: 36.98 kB / 267.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.02676, allocations: 210.9 kB / 267.5 MB, free: 6.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.0271, allocations: 277.6 kB / 267.7 MB, free: 6.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02711, allocations: 0 / 267.7 MB, free: 6.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005422/0.02765, allocations: 312.6 kB / 268.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.02767, allocations: 8 kB / 268.1 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02768, allocations: 7.984 kB / 268.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.02799, allocations: 88.11 kB / 268.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.02825, allocations: 79.91 kB / 268.2 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.03006, allocations: 1.832 MB / 270.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.0303, allocations: 55.66 kB / 270.1 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.03033, allocations: 12 kB / 270.1 MB, free: 4.098 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.03053, allocations: 148.4 kB / 270.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.03061, allocations: 51.95 kB / 270.3 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.03071, allocations: 61.14 kB / 270.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.03071, allocations: 7.984 kB / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.03072, allocations: 0 / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.03072, allocations: 4 kB / 270.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.03187, allocations: 0.7223 MB / 271.1 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.03188, allocations: 3.938 kB / 271.1 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.03207, allocations: 39.98 kB / 271.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.03232, allocations: 91.72 kB / 271.3 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.03235, allocations: 4 kB / 271.3 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.03406, allocations: 1.839 MB / 273.1 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03406, allocations: 4 kB / 273.1 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.03469, allocations: 423.1 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.03486, allocations: 75.58 kB / 273.6 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.03492, allocations: 11.94 kB / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.03512, allocations: 15.98 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.03522, allocations: 35.94 kB / 273.7 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.03525, allocations: 15.98 kB / 273.7 MB, free: 404 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.03547, allocations: 176.4 kB / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03547, allocations: 0 / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009431/0.03642, allocations: 207.5 kB / 274 MB, free: 20 kB / 250.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.03659, allocations: 100.3 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.03726, allocations: 400.2 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.03728, allocations: 4 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.03766, allocations: 306.5 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.0382, allocations: 154.2 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.04062, allocations: 1.289 MB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.04083, allocations: 210.3 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.04103, allocations: 56.66 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.04137, allocations: 173.3 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.04137, allocations: 0 / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01605/0.05742, allocations: 10.11 MB / 286.8 MB, free: 3.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.641610193066299]