Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.00116/0.00116, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002003/0.003163, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000745/0.000745, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009343/0.001679, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9345/0.9345, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08407/1.019, allocations: 53.88 MB / 243.9 MB, free: 14.84 MB / 250.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.768e-06/1.089e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004001/0.004012, allocations: 4.724 MB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005621, allocations: 1.417 MB / 251.4 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.00583, allocations: 39.69 kB / 251.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.006167, allocations: 230.3 kB / 251.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.006648, allocations: 377.5 kB / 252 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.006892, allocations: 231.5 kB / 252.2 MB, free: 6.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009262/0.007818, allocations: 1.611 MB / 253.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.008293, allocations: 0.5633 MB / 254.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.009292, allocations: 1.079 MB / 255.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.009875, allocations: 0.7404 MB / 256.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.01001, allocations: 168 kB / 256.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.0102, allocations: 164 kB / 256.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01043, allocations: 383 kB / 256.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.01074, allocations: 423.2 kB / 257.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.01151, allocations: 1.141 MB / 258.5 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.01152, allocations: 0 / 258.5 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01152, allocations: 0 / 258.5 MB, free: 208 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.01154, allocations: 0 / 258.5 MB, free: 208 kB / 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.001587/0.01312, allocations: 1.759 MB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.01315, allocations: 8.625 kB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.01348, allocations: 273.9 kB / 260.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.01411, allocations: 0.6067 MB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.01415, allocations: 78.36 kB / 261.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/0.01425, allocations: 100.3 kB / 261.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.01532, allocations: 0.8214 MB / 262.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.01534, allocations: 7.875 kB / 262.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.0154, allocations: 39.98 kB / 262.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.01544, allocations: 49.98 kB / 262.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.01611, allocations: 245.8 kB / 262.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.01895, allocations: 2.562 MB / 265 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.01949, allocations: 496.1 kB / 265.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.01986, allocations: 318.1 kB / 265.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.0199, allocations: 12.66 kB / 265.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.02024, allocations: 355.4 kB / 266.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.014e-06/0.02024, allocations: 3.938 kB / 266.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002602/0.02284, allocations: 1.277 MB / 267.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.02288, allocations: 68.05 kB / 267.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.02329, allocations: 0.539 MB / 268 MB, free: 6.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.02333, allocations: 45.7 kB / 268.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.02353, allocations: 410.6 kB / 268.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.02366, allocations: 241.9 kB / 268.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.02379, allocations: 134.6 kB / 268.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.02391, allocations: 398.5 kB / 269.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.02402, allocations: 69.97 kB / 269.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.02421, allocations: 282.2 kB / 269.6 MB, free: 4.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.02454, allocations: 357.5 kB / 269.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.02455, allocations: 0 / 269.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005351/0.02508, allocations: 457.7 kB / 270.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.0251, allocations: 12.41 kB / 270.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.02511, allocations: 8 kB / 270.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.02555, allocations: 201.5 kB / 270.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.02577, allocations: 107.8 kB / 270.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.02824, allocations: 2.788 MB / 273.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.0285, allocations: 63.61 kB / 273.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.02853, allocations: 16 kB / 273.6 MB, free: 0.5625 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.0002292/0.02876, allocations: 162.5 kB / 273.7 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.02885, allocations: 75.92 kB / 273.8 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.02896, allocations: 112.4 kB / 273.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.02897, allocations: 11.94 kB / 273.9 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.02897, allocations: 0 / 273.9 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02898, allocations: 3.984 kB / 273.9 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.03033, allocations: 1.044 MB / 275 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.03033, allocations: 0 / 275 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.03049, allocations: 71.89 kB / 275 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.03068, allocations: 127.3 kB / 275.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.03106, allocations: 207.6 kB / 275.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.03109, allocations: 15.94 kB / 275.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.0335, allocations: 2.759 MB / 278.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.0335, allocations: 0 / 278.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.03419, allocations: 0.6412 MB / 278.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.03426, allocations: 12 kB / 278.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.03451, allocations: 27.98 kB / 278.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.03462, allocations: 64.53 kB / 278.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.03464, allocations: 16.05 kB / 278.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.03486, allocations: 272.5 kB / 279.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03486, allocations: 4 kB / 279.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006193/0.03548, allocations: 347.2 kB / 279.5 MB, free: 10.44 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.0001449/0.03562, allocations: 119.5 kB / 279.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.0364, allocations: 0.6683 MB / 280.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/0.03641, allocations: 12 kB / 280.3 MB, free: 9.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.03705, allocations: 0.5405 MB / 280.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.03831, allocations: 2.724 MB / 283.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.04433, allocations: 2.062 MB / 285.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.0446, allocations: 320.1 kB / 285.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.04483, allocations: 91.14 kB / 286 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.04521, allocations: 265 kB / 286.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04521, allocations: 0 / 286.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of Templates: time 0.1311/0.1763, allocations: 20.63 MB / 306.9 MB, free: 26.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.0262432545423508]