Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007338/0.0007338, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001735, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002186, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9064/0.9064, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1535/1.06, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.31e-07/9.31e-07, allocations: 0 / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.882e-05, allocations: 6.312 kB / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004094/0.004113, allocations: 4.679 MB / 244.4 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.006055, allocations: 1.337 MB / 245.8 MB, free: 344 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.006334, allocations: 39.69 kB / 245.8 MB, free: 304 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.006704, allocations: 232.1 kB / 246 MB, free: 72 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.007267, allocations: 370.9 kB / 246.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.007547, allocations: 213.5 kB / 246.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000994/0.008541, allocations: 1.587 MB / 248.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/0.009037, allocations: 0.5646 MB / 248.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.009887, allocations: 1.052 MB / 249.8 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.01055, allocations: 0.7372 MB / 250.6 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.01072, allocations: 168.6 kB / 250.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.01088, allocations: 164.6 kB / 250.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.01111, allocations: 375 kB / 251.2 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.01142, allocations: 424.9 kB / 251.7 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.01219, allocations: 1.133 MB / 252.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.0122, allocations: 0 / 252.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.0122, allocations: 0 / 252.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.01223, allocations: 1.188 kB / 252.8 MB, free: 9.262 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001593/0.01382, allocations: 1.739 MB / 254.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.01385, allocations: 12.03 kB / 254.5 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.01403, allocations: 164.8 kB / 254.7 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.01467, allocations: 0.5872 MB / 255.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.01471, allocations: 78.36 kB / 255.4 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.01481, allocations: 96.38 kB / 255.5 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.01562, allocations: 0.8175 MB / 256.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.01564, allocations: 3.938 kB / 256.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.0157, allocations: 40 kB / 256.3 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.01574, allocations: 49.92 kB / 256.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.01612, allocations: 253.7 kB / 256.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.01855, allocations: 2.542 MB / 259.2 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.01907, allocations: 0.4963 MB / 259.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.01942, allocations: 314.5 kB / 260 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.01945, allocations: 12.66 kB / 260 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.01978, allocations: 355.4 kB / 260.3 MB, free: 1.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 1.563e-06/0.01979, allocations: 0 / 260.3 MB, free: 1.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.002541/0.02233, allocations: 1.277 MB / 261.6 MB, free: 244 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.02236, allocations: 60.06 kB / 261.7 MB, free: 172 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.02271, allocations: 0.5351 MB / 262.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.02275, allocations: 37.7 kB / 262.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.02292, allocations: 394.6 kB / 262.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.02305, allocations: 257.8 kB / 262.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.02318, allocations: 134.5 kB / 263 MB, free: 14.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.02328, allocations: 398.5 kB / 263.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.02339, allocations: 73.97 kB / 263.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.02358, allocations: 286.2 kB / 263.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.02389, allocations: 349.5 kB / 264.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.02389, allocations: 0 / 264.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005076/0.0244, allocations: 465.5 kB / 264.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.02441, allocations: 11.94 kB / 264.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02442, allocations: 4 kB / 264.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.02483, allocations: 205 kB / 264.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.02503, allocations: 111.8 kB / 264.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.02738, allocations: 2.782 MB / 267.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.02758, allocations: 67.61 kB / 267.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.02761, allocations: 16 kB / 267.7 MB, free: 9.832 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 (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.0001735/0.02778, allocations: 166.5 kB / 267.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.02786, allocations: 75.92 kB / 268 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.02796, allocations: 104.2 kB / 268.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.02796, allocations: 11.94 kB / 268.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.02797, allocations: 3.984 kB / 268.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.02797, allocations: 7.984 kB / 268.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.02915, allocations: 1.036 MB / 269.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02915, allocations: 0 / 269.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.0293, allocations: 67.91 kB / 269.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.02947, allocations: 123.3 kB / 269.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.02983, allocations: 207.6 kB / 269.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.02986, allocations: 15.94 kB / 269.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.03212, allocations: 2.768 MB / 272.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03212, allocations: 0 / 272.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.03281, allocations: 0.6335 MB / 272.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.03287, allocations: 20 kB / 273 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03303, allocations: 23.98 kB / 273 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.03314, allocations: 72.52 kB / 273 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.03316, allocations: 12 kB / 273.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.03336, allocations: 264.6 kB / 273.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03336, allocations: 0 / 273.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004876/0.03385, allocations: 343.3 kB / 273.6 MB, free: 3.73 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 (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.0001814/0.03403, allocations: 108.3 kB / 273.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.03474, allocations: 0.6684 MB / 274.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/0.03476, allocations: 12 kB / 274.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.03522, allocations: 0.5528 MB / 275 MB, free: 2.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.03651, allocations: 2.687 MB / 277.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.04227, allocations: 2.042 MB / 279.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.0425, allocations: 312 kB / 280 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.04268, allocations: 95.05 kB / 280.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.04304, allocations: 261 kB / 280.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04304, allocations: 0 / 280.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Templates: time 0.02017/0.06321, allocations: 20.49 MB / 300.9 MB, free: 8.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7357992492616177]