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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009389/0.0009389, allocations: 106 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009682/0.0009683, allocations: 63.89 kB / 356.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2103, allocations: 50.43 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004442/0.2148, allocations: 4.772 MB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.2169, allocations: 1.322 MB / 413.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.2173, allocations: 23.88 kB / 413.2 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.2179, allocations: 182.9 kB / 413.4 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.2185, allocations: 334.3 kB / 413.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.2188, allocations: 183.8 kB / 413.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2199, allocations: 1.791 MB / 415.7 MB, free: 19.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007546/0.2206, allocations: 0.8117 MB / 416.5 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.2212, allocations: 0.5331 MB / 417 MB, free: 17.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.2218, allocations: 0.7158 MB / 417.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2219, allocations: 95.94 kB / 417.8 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.2221, allocations: 100 kB / 417.9 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.2224, allocations: 358.8 kB / 418.3 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.2228, allocations: 0.6608 MB / 418.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.2239, allocations: 1.998 MB / 420.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2239, allocations: 0 / 420.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2239, allocations: 0 / 420.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2239, allocations: 4 kB / 420.9 MB, free: 13.88 MB / 298.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.002371/0.2263, allocations: 1.642 MB / 422.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2263, allocations: 8.031 kB / 422.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.2267, allocations: 175.2 kB / 422.7 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.2279, allocations: 0.9073 MB / 423.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.2279, allocations: 78.36 kB / 423.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.2281, allocations: 100.1 kB / 423.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.2298, allocations: 1.439 MB / 425.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.2299, allocations: 3.906 kB / 425.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.23, allocations: 43.94 kB / 425.3 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.23, allocations: 45.98 kB / 425.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2316, allocations: 1.296 MB / 426.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.2366, allocations: 4.351 MB / 431 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.238, allocations: 1.957 MB / 433 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.2388, allocations: 0.6222 MB / 433.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.2388, allocations: 8.656 kB / 433.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007216/0.2396, allocations: 0.5976 MB / 434.2 MB, free: 148 kB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 3.036e-06/0.2396, allocations: 0 / 434.2 MB, free: 148 kB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.006711/0.2463, allocations: 2.749 MB / 436.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.2464, allocations: 111.5 kB / 437 MB, free: 13.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2474, allocations: 0.8325 MB / 437.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.2475, allocations: 41.7 kB / 437.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.2478, allocations: 495.8 kB / 438.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.248, allocations: 248.5 kB / 438.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2482, allocations: 130.7 kB / 438.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2483, allocations: 334 kB / 439.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.2489, allocations: 397.7 kB / 439.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006996/0.2496, allocations: 0.5416 MB / 440 MB, free: 10.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.2508, allocations: 0.9153 MB / 440.9 MB, free: 9.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2509, allocations: 4 kB / 440.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00192/0.2528, allocations: 1.319 MB / 442.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2528, allocations: 6.812 kB / 442.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2528, allocations: 7.984 kB / 442.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2539, allocations: 472.4 kB / 442.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2542, allocations: 95.83 kB / 442.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.2605, allocations: 5.134 MB / 448 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.2611, allocations: 87.39 kB / 448 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.2611, allocations: 24 kB / 448.1 MB, free: 1.895 MB / 314.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.0006081/0.2617, allocations: 464.7 kB / 448.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2619, allocations: 98.89 kB / 448.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.2621, allocations: 104.6 kB / 448.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2621, allocations: 11.98 kB / 448.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2621, allocations: 0 / 448.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.2621, allocations: 7.984 kB / 448.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.2659, allocations: 2.607 MB / 451.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2659, allocations: 4 kB / 451.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.2662, allocations: 63.91 kB / 451.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009182/0.2671, allocations: 461.1 kB / 451.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.2672, allocations: 19.98 kB / 451.9 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006014/0.2732, allocations: 5.071 MB / 457 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2732, allocations: 3.938 kB / 457 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.2891, allocations: 11.93 MB / 468.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.2896, allocations: 279.8 kB / 469.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2897, allocations: 12 kB / 469.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.2901, allocations: 43.95 kB / 469.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.2903, allocations: 72.55 kB / 469.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.2904, allocations: 19.98 kB / 469.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007546/0.2912, allocations: 0.6004 MB / 469.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2912, allocations: 0 / 469.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001176/0.2923, allocations: 455 kB / 470.4 MB, free: 11.07 MB / 346.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.000166/0.2925, allocations: 127.2 kB / 470.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.2945, allocations: 1.275 MB / 471.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2945, allocations: 0 / 471.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2956, allocations: 0.8165 MB / 472.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2966, allocations: 267.2 kB / 472.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.3013, allocations: 3.611 MB / 476.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008952/0.3022, allocations: 1.353 MB / 477.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00045/0.3027, allocations: 147.4 kB / 477.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3028, allocations: 55.44 kB / 478 MB, free: 3.309 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3028, allocations: 0 / 478 MB, free: 3.309 MB / 346.7 MB Notification: Performance of Templates: time 0.03052/0.3334, allocations: 21.82 MB / 499.8 MB, free: 13.68 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches