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.001059/0.001059, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002731, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002717, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9936/0.9936, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1305/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.322e-06/1.322e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.371e-05, allocations: 6.109 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.01132/0.01134, allocations: 4.724 MB / 249.5 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.01718, allocations: 1.421 MB / 250.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.01763, allocations: 35.75 kB / 250.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.01818, allocations: 226.4 kB / 251.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.0198, allocations: 385.4 kB / 251.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.02033, allocations: 227.5 kB / 251.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.02211, allocations: 1.591 MB / 253.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.02295, allocations: 0.5632 MB / 253.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.02458, allocations: 1.063 MB / 254.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.02583, allocations: 0.7443 MB / 255.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.02617, allocations: 164 kB / 255.8 MB, free: 3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.02651, allocations: 168 kB / 256 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.02687, allocations: 379 kB / 256.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.02744, allocations: 431.2 kB / 256.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.02883, allocations: 1.141 MB / 257.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.02884, allocations: 0 / 257.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02884, allocations: 0 / 257.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.009e-05/0.02888, allocations: 0 / 257.9 MB, free: 0.8984 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.002745/0.03163, allocations: 1.751 MB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.03166, allocations: 8.031 kB / 259.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.03218, allocations: 273.9 kB / 260 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.03326, allocations: 0.6067 MB / 260.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.03331, allocations: 70.38 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.03347, allocations: 108.3 kB / 260.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.03475, allocations: 0.8174 MB / 261.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.03477, allocations: 3.938 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.03487, allocations: 55.97 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.03493, allocations: 38 kB / 261.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.03559, allocations: 253.7 kB / 261.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.03945, allocations: 2.546 MB / 264.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.04022, allocations: 0.4884 MB / 264.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.04078, allocations: 322 kB / 265.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.04082, allocations: 16.59 kB / 265.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004856/0.04131, allocations: 351.5 kB / 265.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.04131, allocations: 0 / 265.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002822/0.04414, allocations: 1.273 MB / 266.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.04417, allocations: 68 kB / 267 MB, free: 7.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.04453, allocations: 0.539 MB / 267.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.04457, allocations: 45.69 kB / 267.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.04474, allocations: 402.6 kB / 267.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.04486, allocations: 257.8 kB / 268.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.045, allocations: 130.6 kB / 268.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.04513, allocations: 398.5 kB / 268.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.04523, allocations: 73.97 kB / 268.8 MB, free: 5.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.04542, allocations: 282.2 kB / 269.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.04574, allocations: 357.4 kB / 269.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.04575, allocations: 4 kB / 269.4 MB, free: 5 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000524/0.04627, allocations: 461.8 kB / 269.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.04629, allocations: 7.938 kB / 269.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.0463, allocations: 4 kB / 269.9 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.04669, allocations: 205.4 kB / 270.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.0469, allocations: 103.8 kB / 270.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.04928, allocations: 2.789 MB / 273 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.0495, allocations: 63.61 kB / 273 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.04953, allocations: 24 kB / 273 MB, free: 1.258 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.00018/0.04971, allocations: 162.5 kB / 273.2 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.04979, allocations: 79.91 kB / 273.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.04989, allocations: 100.4 kB / 273.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.0499, allocations: 11.94 kB / 273.4 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.0499, allocations: 64 / 273.4 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.04991, allocations: 7.984 kB / 273.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.05111, allocations: 1.048 MB / 274.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.05111, allocations: 3.938 kB / 274.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.05126, allocations: 63.91 kB / 274.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.05143, allocations: 131.2 kB / 274.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.05179, allocations: 203.7 kB / 274.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.05182, allocations: 15.92 kB / 274.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.05411, allocations: 2.758 MB / 277.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.05411, allocations: 0 / 277.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.05475, allocations: 0.6452 MB / 278.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.05481, allocations: 16 kB / 278.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.05499, allocations: 19.98 kB / 278.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.05511, allocations: 64.59 kB / 278.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.05514, allocations: 19.98 kB / 278.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.05535, allocations: 272.5 kB / 278.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05535, allocations: 0 / 278.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.05591, allocations: 351.2 kB / 279 MB, free: 11.14 MB / 282.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.000134/0.05605, allocations: 116.4 kB / 279.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007053/0.05675, allocations: 0.6714 MB / 279.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/0.05677, allocations: 12 kB / 279.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.05727, allocations: 0.5451 MB / 280.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.0586, allocations: 2.713 MB / 283 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.06467, allocations: 2.073 MB / 285.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.06492, allocations: 312.1 kB / 285.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.06512, allocations: 91.12 kB / 285.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.0655, allocations: 261.1 kB / 285.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06551, allocations: 4 kB / 285.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of Templates: time 0.1106/0.1761, allocations: 20.65 MB / 306.4 MB, free: 30.43 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0432372568175197]