Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.0009956/0.0009956, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001091/0.001091, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9792/0.9792, allocations: 177 MB / 205.2 MB, free: 5.527 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.772e-05, allocations: 9.266 kB / 273 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003898/0.003925, allocations: 3.735 MB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.005618, allocations: 0.9699 MB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.005831, allocations: 11.94 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.006032, allocations: 83.16 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.006348, allocations: 154.6 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.006745, allocations: 191.6 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.007288, allocations: 0.6418 MB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.007569, allocations: 144.6 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.008012, allocations: 371.1 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.008281, allocations: 183.5 kB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.00835, allocations: 56 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.008442, allocations: 60 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.008526, allocations: 127.5 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.008696, allocations: 191.5 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.009134, allocations: 422.5 kB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.009138, allocations: 0 / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009139, allocations: 0 / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.009147, allocations: 0 / 280.3 MB, free: 10.35 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001014/0.01016, allocations: 0.9559 MB / 281.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.0102, allocations: 11.98 kB / 281.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.01039, allocations: 104.6 kB / 281.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.01075, allocations: 317.2 kB / 281.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.01077, allocations: 33.38 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.01082, allocations: 48.38 kB / 281.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.01127, allocations: 405.5 kB / 282.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.01129, allocations: 12.11 kB / 282.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.01132, allocations: 19.94 kB / 282.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.01133, allocations: 12 kB / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.0116, allocations: 169.8 kB / 282.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.01314, allocations: 1.843 MB / 284.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.01356, allocations: 304.3 kB / 284.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.01389, allocations: 212.1 kB / 284.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.01392, allocations: 8.328 kB / 284.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.01419, allocations: 242.2 kB / 285 MB, free: 5.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.01419, allocations: 4 kB / 285 MB, free: 5.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001282/0.01548, allocations: 0.6292 MB / 285.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.01552, allocations: 85.05 kB / 285.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.01576, allocations: 342.3 kB / 286 MB, free: 4.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.01578, allocations: 37.7 kB / 286.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01591, allocations: 276 kB / 286.3 MB, free: 4.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.01599, allocations: 138.8 kB / 286.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.01608, allocations: 87.84 kB / 286.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.0162, allocations: 0.5157 MB / 287.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01631, allocations: 68.95 kB / 287.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.0165, allocations: 265 kB / 287.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.0168, allocations: 334 kB / 287.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.0168, allocations: 0 / 287.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004733/0.01728, allocations: 412.4 kB / 288.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01729, allocations: 8 kB / 288.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.0173, allocations: 4 kB / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.01758, allocations: 111.5 kB / 288.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.01772, allocations: 68.09 kB / 288.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.01965, allocations: 2.633 MB / 290.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.01981, allocations: 43.72 kB / 291 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.01984, allocations: 20 kB / 291 MB, free: 15.04 MB / 282.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: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.01998, allocations: 188.5 kB / 291.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.02004, allocations: 51.77 kB / 291.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.02009, allocations: 44.3 kB / 291.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0201, allocations: 4 kB / 291.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.0201, allocations: 8 kB / 291.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.02011, allocations: 7.922 kB / 291.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.02096, allocations: 0.7869 MB / 292.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.02096, allocations: 0 / 292.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.02106, allocations: 35.98 kB / 292.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.02129, allocations: 111.6 kB / 292.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.02131, allocations: 11.98 kB / 292.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.02295, allocations: 2.621 MB / 294.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02295, allocations: 0 / 294.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.02353, allocations: 0.5687 MB / 295.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.02363, allocations: 71.66 kB / 295.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.02366, allocations: 8 kB / 295.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02377, allocations: 15.98 kB / 295.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.02385, allocations: 35.94 kB / 295.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.02387, allocations: 15.98 kB / 295.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.02401, allocations: 235 kB / 295.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02401, allocations: 0 / 295.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004184/0.02443, allocations: 147.7 kB / 296 MB, free: 9.879 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.02455, allocations: 119.1 kB / 296.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.02514, allocations: 0.4969 MB / 296.6 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.02514, allocations: 0 / 296.6 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.02545, allocations: 386.2 kB / 296.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.02577, allocations: 88.92 kB / 297 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02705, allocations: 0.8366 MB / 297.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.315e-05/0.02715, allocations: 126.1 kB / 298 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.02724, allocations: 35.28 kB / 298 MB, free: 7.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.0273, allocations: 28.48 kB / 298.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.0273, allocations: 4 kB / 298.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of Templates: time 0.009052/0.03635, allocations: 6.585 MB / 304.6 MB, free: 1.234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.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.9189861270133406]