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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 208.6 kB / 18.79 MB, free: 4.254 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.431/1.431, allocations: 230.4 MB / 250 MB, free: 9.105 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.002559/0.002559, allocations: 71.83 kB / 367.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2543, allocations: 53.31 MB / 420.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005121/0.2595, allocations: 3.763 MB / 424.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2611, allocations: 0.9895 MB / 425.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2613, allocations: 11.94 kB / 425.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2615, allocations: 83.22 kB / 425.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.2619, allocations: 146.7 kB / 425.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.2622, allocations: 179.7 kB / 425.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.2629, allocations: 0.6148 MB / 426.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.2632, allocations: 152.1 kB / 426.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2635, allocations: 243.1 kB / 426.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.2638, allocations: 250.8 kB / 427.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.2638, allocations: 60 kB / 427.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.264, allocations: 60 kB / 427.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2641, allocations: 123.5 kB / 427.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.2643, allocations: 270.6 kB / 427.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.265, allocations: 0.6497 MB / 428.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.265, allocations: 0 / 428.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.265, allocations: 0 / 428.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.265, allocations: 0 / 428.2 MB, free: 0.9141 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001332/0.2663, allocations: 0.8111 MB / 429 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2664, allocations: 8.031 kB / 429.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.2666, allocations: 72.83 kB / 429.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.2671, allocations: 388.9 kB / 429.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.2671, allocations: 29.38 kB / 429.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.2672, allocations: 48.12 kB / 429.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.2679, allocations: 457.5 kB / 430 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2679, allocations: 4 kB / 430 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.268, allocations: 23.98 kB / 430.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.268, allocations: 8 kB / 430.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.2686, allocations: 319.8 kB / 430.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.271, allocations: 1.86 MB / 432.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.2718, allocations: 0.57 MB / 432.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.2724, allocations: 244.2 kB / 433 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2724, allocations: 4.328 kB / 433.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.2729, allocations: 277.1 kB / 433.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.664e-06/0.2729, allocations: 4 kB / 433.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002236/0.2751, allocations: 0.8307 MB / 434.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.2752, allocations: 85.11 kB / 434.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.2755, allocations: 328.4 kB / 434.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.2756, allocations: 37.7 kB / 434.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2757, allocations: 220.7 kB / 434.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2758, allocations: 146.8 kB / 435 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.276, allocations: 86.2 kB / 435 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2761, allocations: 346.8 kB / 435.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.2764, allocations: 129 kB / 435.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2767, allocations: 249 kB / 435.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.2773, allocations: 390.3 kB / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2773, allocations: 0 / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008591/0.2781, allocations: 0.5021 MB / 436.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2781, allocations: 10.48 kB / 436.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2781, allocations: 7.938 kB / 436.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.2786, allocations: 152.7 kB / 436.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2788, allocations: 59.91 kB / 436.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.2818, allocations: 2.549 MB / 439.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2821, allocations: 39.73 kB / 439.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2821, allocations: 20 kB / 439.5 MB, free: 5.059 MB / 350.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.2823, allocations: 181.7 kB / 439.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.2824, allocations: 43.7 kB / 439.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-05/0.2825, allocations: 44.41 kB / 439.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2825, allocations: 4 kB / 439.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2825, allocations: 0 / 439.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2825, allocations: 144 / 439.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.284, allocations: 1.024 MB / 440.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.284, allocations: 3.984 kB / 440.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2842, allocations: 35.92 kB / 440.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/0.2845, allocations: 136.8 kB / 440.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2846, allocations: 15.98 kB / 440.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.2874, allocations: 2.545 MB / 443.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2874, allocations: 3.938 kB / 443.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2885, allocations: 0.7021 MB / 444.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.2887, allocations: 164.6 kB / 444.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.2888, allocations: 11.94 kB / 444.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.289, allocations: 15.98 kB / 444.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2891, allocations: 31.95 kB / 444.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.2891, allocations: 19.94 kB / 444.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.2893, allocations: 227.1 kB / 444.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 0 / 444.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005581/0.2899, allocations: 147.8 kB / 444.8 MB, free: 15.46 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.29, allocations: 123.4 kB / 444.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.2911, allocations: 0.5212 MB / 445.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2911, allocations: 0 / 445.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.2916, allocations: 363.5 kB / 445.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.2921, allocations: 85.27 kB / 445.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.2939, allocations: 0.8811 MB / 446.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.2945, allocations: 0.8318 MB / 447.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.2946, allocations: 47.33 kB / 447.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.2947, allocations: 27.44 kB / 447.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2947, allocations: 0 / 447.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01437/0.3091, allocations: 7.145 MB / 454.8 MB, free: 5.512 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches