Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009733/0.0009733, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009688/0.0009688, allocations: 160.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9937/0.9937, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.027e-06/1.02e-05, allocations: 6.25 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003201/0.003211, allocations: 3.7 MB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004662, allocations: 1.102 MB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.004832, allocations: 19.88 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.005062, allocations: 115.1 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.005635, allocations: 242.3 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.005893, allocations: 167.5 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.006703, allocations: 1.008 MB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.007109, allocations: 363.4 kB / 280.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005753/0.007684, allocations: 0.612 MB / 280.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.008191, allocations: 470.8 kB / 281.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.0083, allocations: 104 kB / 281.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.008453, allocations: 112 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.008657, allocations: 295.1 kB / 281.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.008941, allocations: 331.2 kB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.00963, allocations: 0.7828 MB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.009632, allocations: 0 / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009632, allocations: 0 / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.009638, allocations: 3.938 kB / 282.8 MB, free: 7.715 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001254/0.01089, allocations: 1.057 MB / 283.9 MB, free: 6.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.01092, allocations: 11.98 kB / 283.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.01123, allocations: 136.8 kB / 284 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.01178, allocations: 417.4 kB / 284.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.01181, allocations: 53.67 kB / 284.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.0119, allocations: 68.36 kB / 284.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.01258, allocations: 0.5334 MB / 285.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.0126, allocations: 7.922 kB / 285.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.01265, allocations: 32 kB / 285.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.01269, allocations: 37.3 kB / 285.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.01301, allocations: 153 kB / 285.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01506, allocations: 1.736 MB / 287.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.01536, allocations: 227.4 kB / 287.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.01555, allocations: 117.4 kB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01557, allocations: 4.328 kB / 287.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.01584, allocations: 239.6 kB / 287.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.01584, allocations: 4 kB / 287.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001135/0.01697, allocations: 473.4 kB / 288.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.01703, allocations: 110.8 kB / 288.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.01737, allocations: 407.3 kB / 288.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.0174, allocations: 37.7 kB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01756, allocations: 317.8 kB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.01766, allocations: 142.8 kB / 289.1 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.01777, allocations: 86.14 kB / 289.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01788, allocations: 370.6 kB / 289.5 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.01796, allocations: 44.97 kB / 289.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.01812, allocations: 206.9 kB / 289.8 MB, free: 440 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.01841, allocations: 267.1 kB / 290 MB, free: 116 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01841, allocations: 4 kB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.1167/0.1352, allocations: 306 kB / 290.4 MB, free: 24.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1352, allocations: 8.109 kB / 290.4 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1352, allocations: 5.156 kB / 290.4 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.1355, allocations: 97.31 kB / 290.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1356, allocations: 79.84 kB / 290.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1369, allocations: 1.883 MB / 292.4 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1371, allocations: 44.75 kB / 292.5 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1371, allocations: 17.02 kB / 292.5 MB, free: 23.44 MB / 266.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_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.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 (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.1373, allocations: 148.7 kB / 292.6 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.1374, allocations: 48.42 kB / 292.7 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.1375, allocations: 65.41 kB / 292.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1375, allocations: 8.875 kB / 292.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1375, allocations: 5.031 kB / 292.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1375, allocations: 7.203 kB / 292.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/0.1384, allocations: 0.7703 MB / 293.5 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1384, allocations: 1.094 kB / 293.5 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1385, allocations: 49.08 kB / 293.6 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.1387, allocations: 85.7 kB / 293.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1387, allocations: 7.938 kB / 293.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1397, allocations: 1.82 MB / 295.5 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1397, allocations: 5.781 kB / 295.5 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.1402, allocations: 463.2 kB / 295.9 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1404, allocations: 81.89 kB / 296 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1404, allocations: 7.703 kB / 296 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1405, allocations: 15.12 kB / 296 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.1406, allocations: 42.84 kB / 296.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1406, allocations: 15.98 kB / 296.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1408, allocations: 186.6 kB / 296.3 MB, free: 21.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1408, allocations: 0 / 296.3 MB, free: 21.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.1413, allocations: 208.9 kB / 296.5 MB, free: 21.47 MB / 266.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) * 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.0001203/0.1414, allocations: 100.3 kB / 296.6 MB, free: 21.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1419, allocations: 397.2 kB / 297 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.1419, allocations: 5.25 kB / 297 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.1421, allocations: 297.2 kB / 297.3 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1425, allocations: 153.9 kB / 297.4 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1444, allocations: 1.348 MB / 298.8 MB, free: 20.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1446, allocations: 210.8 kB / 299 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.1448, allocations: 59.17 kB / 299 MB, free: 20.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.1451, allocations: 175.3 kB / 299.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1451, allocations: 0 / 299.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of Templates: time 0.01365/0.1587, allocations: 10.26 MB / 309.5 MB, free: 15.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7708432520739734]