Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0009932/0.0009932, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001079/0.001079, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9662/0.9662, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.91e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00429/0.004309, allocations: 4.644 MB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.006021, allocations: 1.359 MB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.006303, allocations: 35.75 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.006764, allocations: 234.3 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.007327, allocations: 377.5 kB / 280.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.007621, allocations: 227.5 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.008673, allocations: 1.595 MB / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.009205, allocations: 0.5437 MB / 282.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008376/0.01004, allocations: 0.9668 MB / 283.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007599/0.0108, allocations: 0.7599 MB / 284.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.01098, allocations: 164 kB / 284.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.01119, allocations: 168 kB / 284.5 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.01145, allocations: 470.7 kB / 284.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.01199, allocations: 0.5028 MB / 285.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.01289, allocations: 1.231 MB / 286.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.0129, allocations: 0 / 286.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.0129, allocations: 0 / 286.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.01292, allocations: 0 / 286.7 MB, free: 3.926 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002171/0.01509, allocations: 2.121 MB / 288.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.01512, allocations: 8.031 kB / 288.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.01546, allocations: 248 kB / 289 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.01622, allocations: 0.7993 MB / 289.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.01627, allocations: 74.38 kB / 289.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.01637, allocations: 104.4 kB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1134/0.1298, allocations: 0.8097 MB / 290.8 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.1298, allocations: 2.344 kB / 290.8 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.1299, allocations: 40.94 kB / 290.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.1299, allocations: 43.81 kB / 290.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.1305, allocations: 287.7 kB / 291.2 MB, free: 25.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.1338, allocations: 3.36 MB / 294.5 MB, free: 23.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.1345, allocations: 0.5453 MB / 295.1 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.1349, allocations: 330.8 kB / 295.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.135, allocations: 13.48 kB / 295.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.1354, allocations: 383.7 kB / 295.8 MB, free: 23.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.767e-06/0.1354, allocations: 0 / 295.8 MB, free: 23.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003165/0.1386, allocations: 1.449 MB / 297.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1386, allocations: 114.2 kB / 297.4 MB, free: 23.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.1392, allocations: 0.6903 MB / 298 MB, free: 22.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.1392, allocations: 42.83 kB / 298.1 MB, free: 22.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.1395, allocations: 0.5649 MB / 298.7 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1396, allocations: 266.5 kB / 298.9 MB, free: 22.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1398, allocations: 145.2 kB / 299.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1399, allocations: 0.5978 MB / 299.7 MB, free: 21.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1401, allocations: 81.84 kB / 299.7 MB, free: 21.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1403, allocations: 353.7 kB / 300.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1406, allocations: 406.4 kB / 300.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1406, allocations: 1.25 kB / 300.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006966/0.1413, allocations: 0.585 MB / 301.1 MB, free: 20.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1414, allocations: 9.266 kB / 301.1 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1414, allocations: 7.25 kB / 301.1 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.1418, allocations: 224 kB / 301.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.142, allocations: 93.38 kB / 301.4 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.1444, allocations: 3.589 MB / 305 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1447, allocations: 64.03 kB / 305 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1447, allocations: 19.12 kB / 305.1 MB, free: 18.31 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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.1449, allocations: 204.1 kB / 305.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.145, allocations: 115.8 kB / 305.4 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.1451, allocations: 106.3 kB / 305.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1451, allocations: 12.19 kB / 305.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1451, allocations: 4 kB / 305.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1451, allocations: 3.938 kB / 305.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.1466, allocations: 1.361 MB / 306.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1466, allocations: 7.766 kB / 306.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1468, allocations: 61.55 kB / 306.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.1472, allocations: 214.8 kB / 307.1 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.1472, allocations: 15.36 kB / 307.1 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.1494, allocations: 3.53 MB / 310.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1494, allocations: 1.906 kB / 310.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.1501, allocations: 0.7884 MB / 311.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1502, allocations: 170.7 kB / 311.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.1503, allocations: 15.75 kB / 311.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1505, allocations: 22.58 kB / 311.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.1506, allocations: 65.28 kB / 311.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.1506, allocations: 22.2 kB / 311.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1508, allocations: 426.4 kB / 312.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1508, allocations: 0 / 312.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006532/0.1515, allocations: 349.1 kB / 312.5 MB, free: 13.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.1516, allocations: 125 kB / 312.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007664/0.1524, allocations: 0.7613 MB / 313.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1524, allocations: 0 / 313.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.1528, allocations: 0.613 MB / 314 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.1534, allocations: 260.5 kB / 314.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1556, allocations: 1.99 MB / 316.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1558, allocations: 376 kB / 316.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.156, allocations: 92.2 kB / 316.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.1563, allocations: 298 kB / 317 MB, free: 8.789 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1563, allocations: 0 / 317 MB, free: 8.789 MB / 266.7 MB Notification: Performance of Templates: time 0.02259/0.1789, allocations: 19.74 MB / 336.7 MB, free: 5.402 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.9483403409831226]