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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 215.8 kB / 19.41 MB, free: 3.684 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.456/1.456, allocations: 227.7 MB / 247.9 MB, free: 10.19 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.001912/0.001912, allocations: 55.91 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2379, allocations: 50.54 MB / 410.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005221/0.2432, allocations: 3.72 MB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2452, allocations: 1.083 MB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.2453, allocations: 15.94 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.2456, allocations: 111.1 kB / 415.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006685/0.2463, allocations: 230.6 kB / 415.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2466, allocations: 167.7 kB / 415.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2477, allocations: 0.9612 MB / 416.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.2483, allocations: 459 kB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000496/0.2488, allocations: 414.6 kB / 417.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.2494, allocations: 0.4941 MB / 417.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.2496, allocations: 104 kB / 417.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.2498, allocations: 104 kB / 418 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.25, allocations: 287.1 kB / 418.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.2505, allocations: 477.8 kB / 418.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2518, allocations: 1.304 MB / 420.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2518, allocations: 4 kB / 420.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2518, allocations: 0 / 420.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2518, allocations: 0 / 420.1 MB, free: 7.453 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002223/0.2541, allocations: 1.204 MB / 421.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2541, allocations: 15.97 kB / 421.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.2546, allocations: 128.3 kB / 421.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2556, allocations: 0.6573 MB / 422.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.2557, allocations: 57.23 kB / 422.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2558, allocations: 68 kB / 422.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2574, allocations: 0.915 MB / 423.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2574, allocations: 0 / 423.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.2575, allocations: 24 kB / 423.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.2575, allocations: 41.3 kB / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.2589, allocations: 0.7897 MB / 424 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.2632, allocations: 2.792 MB / 426.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2642, allocations: 0.7182 MB / 427.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.2648, allocations: 305.3 kB / 427.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.2648, allocations: 12.31 kB / 427.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/0.2655, allocations: 385.8 kB / 428.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.2655, allocations: 0 / 428.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002963/0.2685, allocations: 1.225 MB / 429.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.2686, allocations: 114.6 kB / 429.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.2693, allocations: 0.5918 MB / 430.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.2694, allocations: 37.7 kB / 430.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.2697, allocations: 364.7 kB / 430.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.2698, allocations: 138.8 kB / 430.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.27, allocations: 94.23 kB / 430.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2702, allocations: 362.8 kB / 431.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.2706, allocations: 224.9 kB / 431.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.2711, allocations: 361.7 kB / 431.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.272, allocations: 0.5739 MB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.272, allocations: 4 kB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001362/0.2734, allocations: 0.7473 MB / 433 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2734, allocations: 8 kB / 433 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2734, allocations: 4 kB / 433 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.274, allocations: 209.1 kB / 433.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.2743, allocations: 75.84 kB / 433.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.2781, allocations: 3.036 MB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.2784, allocations: 55.72 kB / 436.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.2785, allocations: 19.98 kB / 436.4 MB, free: 6.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.2789, allocations: 333.5 kB / 436.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.279, allocations: 63.56 kB / 436.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2792, allocations: 73.42 kB / 436.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2792, allocations: 4 kB / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2792, allocations: 0 / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2792, allocations: 4 kB / 436.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.282, allocations: 1.729 MB / 438.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.282, allocations: 4.031 kB / 438.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2823, allocations: 47.91 kB / 438.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.2827, allocations: 200.8 kB / 438.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.2828, allocations: 11.98 kB / 438.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.2862, allocations: 2.918 MB / 441.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2862, allocations: 3.938 kB / 441.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.2881, allocations: 1.135 MB / 442.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.2884, allocations: 200.6 kB / 443.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.2884, allocations: 12 kB / 443.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.2887, allocations: 27.91 kB / 443.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.2889, allocations: 47.72 kB / 443.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2889, allocations: 11.98 kB / 443.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.2894, allocations: 434.8 kB / 443.6 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 443.6 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007047/0.2901, allocations: 207.5 kB / 443.8 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.2904, allocations: 123.4 kB / 443.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.2917, allocations: 0.7134 MB / 444.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2917, allocations: 0 / 444.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007348/0.2925, allocations: 463.5 kB / 445.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.2932, allocations: 154.2 kB / 445.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.296, allocations: 1.587 MB / 446.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.2968, allocations: 1.082 MB / 447.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.2971, allocations: 96.78 kB / 448 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2972, allocations: 43.44 kB / 448.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2972, allocations: 3.938 kB / 448.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01788/0.3151, allocations: 10.31 MB / 458.4 MB, free: 316 kB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches