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.001006/0.001006, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002785, allocations: 449.7 kB / 10.37 MB, free: 328 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.001083/0.001083, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.00248, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1202/1.128, allocations: 53.64 MB / 243.2 MB, free: 15.59 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.362e-06/1.362e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.006e-05, allocations: 5.406 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005953/0.005973, allocations: 4.712 MB / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.009268, allocations: 1.417 MB / 250.7 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.009761, allocations: 39.69 kB / 250.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.01021, allocations: 234.3 kB / 250.9 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006367/0.01084, allocations: 377.5 kB / 251.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.01118, allocations: 223.5 kB / 251.5 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01242, allocations: 1.607 MB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.01294, allocations: 0.5555 MB / 253.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008591/0.01379, allocations: 1.071 MB / 254.8 MB, free: 4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.01444, allocations: 0.7327 MB / 255.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.0146, allocations: 164 kB / 255.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.0148, allocations: 171.9 kB / 255.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.01504, allocations: 379 kB / 256.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.01537, allocations: 423.2 kB / 256.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.01622, allocations: 1.149 MB / 257.8 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.01623, allocations: 0 / 257.8 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01623, allocations: 4 kB / 257.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.01625, allocations: 0 / 257.8 MB, free: 0.9961 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.001576/0.01783, allocations: 1.744 MB / 259.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.01785, allocations: 12.03 kB / 259.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.01816, allocations: 273.9 kB / 259.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.01889, allocations: 0.6028 MB / 260.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.01893, allocations: 78.31 kB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.01903, allocations: 104.3 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.01977, allocations: 0.8214 MB / 261.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.01979, allocations: 7.938 kB / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.01985, allocations: 36 kB / 261.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.01988, allocations: 41.98 kB / 261.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.02025, allocations: 253.7 kB / 261.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.02277, allocations: 2.554 MB / 264.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.02325, allocations: 0.4922 MB / 264.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.02359, allocations: 306.1 kB / 265.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.02362, allocations: 12.66 kB / 265.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.02392, allocations: 355.5 kB / 265.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.785e-06/0.02392, allocations: 0 / 265.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002455/0.02638, allocations: 1.281 MB / 266.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.02641, allocations: 60.06 kB / 266.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.02675, allocations: 0.5507 MB / 267.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.02678, allocations: 37.7 kB / 267.3 MB, free: 7.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.02695, allocations: 406.6 kB / 267.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.02706, allocations: 249.8 kB / 268 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.02718, allocations: 130.6 kB / 268.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.02729, allocations: 406.5 kB / 268.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.936e-05/0.02739, allocations: 65.97 kB / 268.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.02756, allocations: 282.2 kB / 268.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.02786, allocations: 358.2 kB / 269.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02786, allocations: 3.938 kB / 269.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004929/0.02835, allocations: 461.9 kB / 269.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.02836, allocations: 11.94 kB / 269.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02837, allocations: 7.984 kB / 269.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.02875, allocations: 201.2 kB / 269.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.02895, allocations: 107.8 kB / 270 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.03148, allocations: 2.789 MB / 272.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.03166, allocations: 59.61 kB / 272.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.03169, allocations: 24 kB / 272.9 MB, free: 1.367 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.0001719/0.03186, allocations: 174.5 kB / 273 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.03194, allocations: 75.92 kB / 273.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.03204, allocations: 100.4 kB / 273.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.03204, allocations: 7.938 kB / 273.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03204, allocations: 0 / 273.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03205, allocations: 7.984 kB / 273.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.03321, allocations: 1.048 MB / 274.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.03321, allocations: 0 / 274.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.03336, allocations: 67.91 kB / 274.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.03352, allocations: 127.2 kB / 274.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.03388, allocations: 203.7 kB / 274.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.03391, allocations: 23.92 kB / 274.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.03608, allocations: 2.767 MB / 277.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.03608, allocations: 4 kB / 277.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.03669, allocations: 0.6218 MB / 278.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.03675, allocations: 12 kB / 278.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.03692, allocations: 23.98 kB / 278.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.03724, allocations: 72.52 kB / 278.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.03726, allocations: 12 kB / 278.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.03746, allocations: 272.5 kB / 278.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03746, allocations: 0 / 278.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.03791, allocations: 355.2 kB / 278.8 MB, free: 11.25 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.0001108/0.03802, allocations: 112.3 kB / 278.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.03866, allocations: 0.6629 MB / 279.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.03868, allocations: 12 kB / 279.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.0391, allocations: 0.5142 MB / 280.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.03964, allocations: 333.7 kB / 280.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.04512, allocations: 2.079 MB / 282.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.04533, allocations: 316.1 kB / 282.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.0455, allocations: 91.14 kB / 282.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.04585, allocations: 253.1 kB / 283.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04585, allocations: 0 / 283.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of Templates: time 0.1075/0.1534, allocations: 20.55 MB / 303.7 MB, free: 31.25 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0221925228834152]