Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009337/0.0009337, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008655/0.0008655, allocations: 172.4 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.358e-05, allocations: 6.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004255/0.004269, allocations: 4.533 MB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005879, allocations: 1.339 MB / 279.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.006074, allocations: 27.81 kB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.006304, allocations: 174.6 kB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.006841, allocations: 381.5 kB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.007073, allocations: 219.5 kB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.00803, allocations: 1.684 MB / 281.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.008623, allocations: 0.5911 MB / 282.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.009303, allocations: 1.029 MB / 283.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.009948, allocations: 0.8301 MB / 284.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.01008, allocations: 180 kB / 284.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.01025, allocations: 179.9 kB / 284.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.01051, allocations: 0.5024 MB / 285.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.01085, allocations: 0.5534 MB / 285.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008281/0.01168, allocations: 1.336 MB / 287.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.01168, allocations: 4 kB / 287.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01168, allocations: 0 / 287.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.01169, allocations: 0 / 287.1 MB, free: 3.59 MB / 266.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.001441/0.01313, allocations: 1.623 MB / 288.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.01316, allocations: 8.031 kB / 288.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.01354, allocations: 236.7 kB / 288.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.01427, allocations: 0.6299 MB / 289.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.01431, allocations: 78.44 kB / 289.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.01441, allocations: 104.4 kB / 289.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09845/0.1129, allocations: 0.8522 MB / 290.6 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/0.1129, allocations: 1.344 kB / 290.6 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.1131, allocations: 42.75 kB / 290.6 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.1131, allocations: 42.12 kB / 290.7 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1139, allocations: 263 kB / 290.9 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.1178, allocations: 3.001 MB / 293.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.1184, allocations: 429.3 kB / 294.3 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.1189, allocations: 309.2 kB / 294.6 MB, free: 23.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1189, allocations: 13.66 kB / 294.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.1193, allocations: 315.9 kB / 295 MB, free: 23.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.1193, allocations: 0.5469 kB / 295 MB, free: 23.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002618/0.1219, allocations: 0.9506 MB / 295.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.122, allocations: 90.09 kB / 296 MB, free: 23.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.1226, allocations: 0.6052 MB / 296.6 MB, free: 23.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1226, allocations: 42.69 kB / 296.6 MB, free: 23.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.1228, allocations: 440.8 kB / 297.1 MB, free: 23.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.123, allocations: 239.8 kB / 297.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1231, allocations: 126.8 kB / 297.4 MB, free: 23.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.1232, allocations: 335.1 kB / 297.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1233, allocations: 70.73 kB / 297.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1235, allocations: 244.1 kB / 298.1 MB, free: 22.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.124, allocations: 358.2 kB / 298.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.124, allocations: 1 kB / 298.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007817/0.1248, allocations: 459.8 kB / 298.9 MB, free: 22.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1248, allocations: 5.75 kB / 298.9 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1248, allocations: 3.906 kB / 298.9 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.1253, allocations: 173.2 kB / 299 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.1257, allocations: 121.9 kB / 299.2 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.1278, allocations: 2.381 MB / 301.5 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.128, allocations: 64.36 kB / 301.6 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.128, allocations: 19.77 kB / 301.6 MB, free: 20.86 MB / 266.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: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.1282, allocations: 164.4 kB / 301.8 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.1283, allocations: 79.67 kB / 301.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.1284, allocations: 114.4 kB / 302 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1284, allocations: 7.344 kB / 302 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1284, allocations: 1.594 kB / 302 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1284, allocations: 5.016 kB / 302 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1297, allocations: 1.004 MB / 303 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1297, allocations: 3.938 kB / 303 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1299, allocations: 88.44 kB / 303.1 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/0.1302, allocations: 163.2 kB / 303.2 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.1302, allocations: 26.12 kB / 303.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.1319, allocations: 2.387 MB / 305.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1319, allocations: 0 / 305.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.1325, allocations: 0.6035 MB / 306.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1326, allocations: 130.4 kB / 306.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1327, allocations: 11.06 kB / 306.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1329, allocations: 24.84 kB / 306.4 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.133, allocations: 70.48 kB / 306.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.133, allocations: 12.38 kB / 306.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.1332, allocations: 306.8 kB / 306.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1332, allocations: 0 / 306.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.1338, allocations: 354.4 kB / 307.2 MB, free: 18.11 MB / 266.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) * Number of clocked states: 0 () * 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 (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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1339, allocations: 115.2 kB / 307.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.1345, allocations: 0.6102 MB / 307.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.1345, allocations: 6.688 kB / 307.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1348, allocations: 486.9 kB / 308.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1353, allocations: 245.4 kB / 308.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1376, allocations: 2.244 MB / 310.8 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1378, allocations: 331.8 kB / 311.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.138, allocations: 99.44 kB / 311.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.1383, allocations: 253.1 kB / 311.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1383, allocations: 0 / 311.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Templates: time 0.01778/0.1561, allocations: 18.37 MB / 329.9 MB, free: 12.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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.8105304618366063]