Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 73.23 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09905, allocations: 50.53 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006847/0.1059, allocations: 4.765 MB / 363.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.1091, allocations: 1.367 MB / 364.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006281/0.1098, allocations: 27.88 kB / 364.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.1106, allocations: 218.4 kB / 364.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.1116, allocations: 350 kB / 365.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.1121, allocations: 219.6 kB / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.114, allocations: 1.549 MB / 366.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1153, allocations: 0.9653 MB / 367.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000941/0.1163, allocations: 0.6503 MB / 368.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009813/0.1172, allocations: 0.7627 MB / 369.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.1175, allocations: 167.9 kB / 369.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.1178, allocations: 168 kB / 369.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.1183, allocations: 442.7 kB / 370.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1193, allocations: 0.7311 MB / 370.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1502/0.2695, allocations: 2.079 MB / 372.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2695, allocations: 0.625 kB / 372.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2695, allocations: 0 / 372.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.749e-05/0.2696, allocations: 1.312 kB / 372.9 MB, free: 12.79 MB / 302.1 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.00288/0.2725, allocations: 1.651 MB / 374.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2725, allocations: 10.12 kB / 374.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.273, allocations: 164.5 kB / 374.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.2743, allocations: 0.9332 MB / 375.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.2744, allocations: 78.81 kB / 375.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.2746, allocations: 101.7 kB / 375.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.2767, allocations: 1.447 MB / 377.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.2768, allocations: 5.156 kB / 377.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2769, allocations: 41.75 kB / 377.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.2769, allocations: 40.81 kB / 377.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.2789, allocations: 1.296 MB / 378.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.2847, allocations: 4.348 MB / 383 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.2863, allocations: 1.966 MB / 384.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008424/0.2871, allocations: 0.6127 MB / 385.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.2872, allocations: 8.625 kB / 385.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008156/0.288, allocations: 0.5965 MB / 386.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.288, allocations: 1.25 kB / 386.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.00649/0.2945, allocations: 2.74 MB / 388.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.2946, allocations: 119.7 kB / 389 MB, free: 6.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.2956, allocations: 0.8493 MB / 389.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.2957, allocations: 40.89 kB / 389.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.296, allocations: 496.7 kB / 390.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2961, allocations: 243.4 kB / 390.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.2963, allocations: 129.3 kB / 390.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.2964, allocations: 334 kB / 391.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.2969, allocations: 396.1 kB / 391.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2975, allocations: 0.5512 MB / 392 MB, free: 4.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2987, allocations: 0.9126 MB / 392.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2987, allocations: 1.375 kB / 392.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001799/0.3005, allocations: 1.318 MB / 394.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3005, allocations: 12.39 kB / 394.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3005, allocations: 4.125 kB / 394.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009136/0.3014, allocations: 475.2 kB / 394.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3018, allocations: 88.77 kB / 394.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/0.3078, allocations: 5.601 MB / 400.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.3084, allocations: 82.48 kB / 400.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.3085, allocations: 23.09 kB / 400.5 MB, free: 14.53 MB / 318.1 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.000648/0.3091, allocations: 469.5 kB / 401 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3093, allocations: 86.47 kB / 401.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3095, allocations: 113.2 kB / 401.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3095, allocations: 16.38 kB / 401.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3095, allocations: 0 / 401.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3095, allocations: 5.578 kB / 401.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.3135, allocations: 2.618 MB / 403.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3135, allocations: 0 / 403.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.3138, allocations: 55.72 kB / 403.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3148, allocations: 470 kB / 404.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.3149, allocations: 15.98 kB / 404.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007411/0.3223, allocations: 5.528 MB / 409.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3223, allocations: 4 kB / 409.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.3254, allocations: 1.903 MB / 411.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.3259, allocations: 279.8 kB / 412.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.326, allocations: 15.94 kB / 412.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.3265, allocations: 39.95 kB / 412.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3267, allocations: 72.55 kB / 412.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.3267, allocations: 27.98 kB / 412.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000867/0.3276, allocations: 0.6005 MB / 412.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.083e-06/0.3276, allocations: 0 / 412.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3286, allocations: 345.7 kB / 413.1 MB, free: 2.707 MB / 318.1 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.0001765/0.3288, allocations: 133.3 kB / 413.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.3314, allocations: 1.427 MB / 414.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3314, allocations: 3.938 kB / 414.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3327, allocations: 0.8295 MB / 415.5 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3339, allocations: 273.4 kB / 415.8 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.338, allocations: 2.379 MB / 418.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.3391, allocations: 1.303 MB / 419.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3392, allocations: 59.42 kB / 419.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3392, allocations: 3.938 kB / 419.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Templates: time 0.02822/0.3675, allocations: 20.85 MB / 440.4 MB, free: 7.516 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches