Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001341/0.001341, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001092/0.001092, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8371/0.8371, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.204e-05, allocations: 5.969 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.008149/0.008191, allocations: 4.674 MB / 255.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.01197, allocations: 1.333 MB / 257.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.01261, allocations: 31.75 kB / 257.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.01333, allocations: 222.4 kB / 257.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.01433, allocations: 377.5 kB / 257.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.01481, allocations: 219.6 kB / 257.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.01634, allocations: 1.591 MB / 259.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.01701, allocations: 0.5119 MB / 260 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.0183, allocations: 0.9512 MB / 261 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.01936, allocations: 0.7366 MB / 261.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.01967, allocations: 164 kB / 261.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.01992, allocations: 163.9 kB / 262 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.02027, allocations: 462.7 kB / 262.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.02093, allocations: 0.5028 MB / 263 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.02233, allocations: 1.207 MB / 264.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02233, allocations: 0 / 264.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02233, allocations: 0 / 264.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.0224, allocations: 0 / 264.2 MB, free: 6.379 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.0031/0.0255, allocations: 2.125 MB / 266.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.02555, allocations: 11.98 kB / 266.3 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.02586, allocations: 220 kB / 266.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.02684, allocations: 0.741 MB / 267.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.02688, allocations: 74.36 kB / 267.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.02699, allocations: 96.38 kB / 267.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.02824, allocations: 0.88 MB / 268.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.02826, allocations: 7.875 kB / 268.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.02834, allocations: 40 kB / 268.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/0.02841, allocations: 38 kB / 268.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007315/0.02914, allocations: 387.6 kB / 268.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.03311, allocations: 3.596 MB / 272.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.03397, allocations: 0.6109 MB / 273 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.03454, allocations: 376.9 kB / 273.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.03458, allocations: 12.66 kB / 273.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006945/0.03528, allocations: 409.7 kB / 273.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.418e-06/0.03528, allocations: 0 / 273.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003581/0.03886, allocations: 1.758 MB / 275.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.03893, allocations: 119.5 kB / 275.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.03962, allocations: 0.6909 MB / 276.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.03967, allocations: 41.69 kB / 276.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.04006, allocations: 0.5347 MB / 276.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.04026, allocations: 265.8 kB / 277.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.04071, allocations: 152.2 kB / 277.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.04093, allocations: 0.5821 MB / 277.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.04114, allocations: 105.9 kB / 278 MB, free: 8.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.04145, allocations: 387.9 kB / 278.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.04196, allocations: 455.5 kB / 278.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.04197, allocations: 0 / 278.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009597/0.04293, allocations: 0.6522 MB / 279.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.04296, allocations: 4 kB / 279.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.04297, allocations: 4 kB / 279.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.04357, allocations: 255.7 kB / 279.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.0438, allocations: 95.83 kB / 279.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.04742, allocations: 3.778 MB / 283.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.04785, allocations: 83.58 kB / 283.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.04789, allocations: 24 kB / 283.7 MB, free: 2.18 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.000347/0.04824, allocations: 206.4 kB / 283.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.04838, allocations: 111.4 kB / 284 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.0485, allocations: 108.2 kB / 284.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.04851, allocations: 8 kB / 284.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.04851, allocations: 4 kB / 284.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.04852, allocations: 11.91 kB / 284.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.05073, allocations: 1.629 MB / 285.8 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.05073, allocations: 3.938 kB / 285.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.05091, allocations: 52.02 kB / 285.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.05139, allocations: 239.3 kB / 286.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.05143, allocations: 15.98 kB / 286.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.05473, allocations: 3.728 MB / 289.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.05474, allocations: 7.922 kB / 289.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.05588, allocations: 0.8623 MB / 290.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.05626, allocations: 199.1 kB / 290.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.05636, allocations: 12 kB / 290.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.05665, allocations: 39.95 kB / 290.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.05686, allocations: 84.5 kB / 291 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.0569, allocations: 19.98 kB / 291 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005273/0.05743, allocations: 450.9 kB / 291.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.05743, allocations: 3.938 kB / 291.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001049/0.05848, allocations: 347.2 kB / 291.8 MB, free: 9.863 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001793/0.05866, allocations: 111.2 kB / 291.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.06001, allocations: 0.817 MB / 292.7 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.06001, allocations: 0 / 292.7 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.06081, allocations: 0.6257 MB / 293.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.06168, allocations: 269.5 kB / 293.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.06521, allocations: 1.978 MB / 295.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.06559, allocations: 364 kB / 296 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.06592, allocations: 119 kB / 296.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.06606, allocations: 56.5 kB / 296.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.06606, allocations: 0 / 296.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Templates: time 0.12/0.186, allocations: 19.3 MB / 315.4 MB, free: 49.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1913998937234282]