Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2271, allocations: 50.54 MB / 409.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004962/0.2321, allocations: 3.74 MB / 413.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.234, allocations: 0.9946 MB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.2343, allocations: 7.938 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.2345, allocations: 79.17 kB / 414.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.2349, allocations: 146.7 kB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2353, allocations: 171.7 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.2359, allocations: 0.6187 MB / 415.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.2363, allocations: 220 kB / 415.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.2366, allocations: 239.1 kB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.2369, allocations: 250.9 kB / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.237, allocations: 56 kB / 416.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2371, allocations: 64 kB / 416.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.2372, allocations: 115.6 kB / 416.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.2374, allocations: 282.6 kB / 416.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.238, allocations: 0.6501 MB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.238, allocations: 0 / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.238, allocations: 0 / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.238, allocations: 0 / 417.5 MB, free: 10.07 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.001279/0.2393, allocations: 0.796 MB / 418.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2393, allocations: 8.031 kB / 418.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2395, allocations: 68.27 kB / 418.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.24, allocations: 372.8 kB / 418.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.24, allocations: 37.31 kB / 418.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.2401, allocations: 44.38 kB / 418.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.2408, allocations: 465.5 kB / 419.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2408, allocations: 4 kB / 419.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.2409, allocations: 20 kB / 419.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2409, allocations: 8 kB / 419.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.2415, allocations: 331.7 kB / 419.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.2436, allocations: 1.844 MB / 421.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.2444, allocations: 0.6158 MB / 422.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.2449, allocations: 280.3 kB / 422.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.245, allocations: 8.312 kB / 422.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.2454, allocations: 265.2 kB / 422.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.2454, allocations: 0 / 422.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002175/0.2476, allocations: 0.8383 MB / 423.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2476, allocations: 89.11 kB / 423.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.248, allocations: 328.4 kB / 423.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.248, allocations: 33.7 kB / 423.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2482, allocations: 228.3 kB / 424.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2483, allocations: 138 kB / 424.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.2484, allocations: 90.16 kB / 424.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2486, allocations: 350.7 kB / 424.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2488, allocations: 117.1 kB / 424.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.2491, allocations: 257 kB / 425.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.2496, allocations: 375 kB / 425.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2497, allocations: 0 / 425.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008229/0.2505, allocations: 0.5125 MB / 426 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2505, allocations: 4 kB / 426 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2505, allocations: 4 kB / 426 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.251, allocations: 153.2 kB / 426.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2512, allocations: 67.84 kB / 426.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.254, allocations: 2.546 MB / 428.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.2543, allocations: 43.66 kB / 428.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.2544, allocations: 20 kB / 428.8 MB, free: 14.17 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.0002277/0.2546, allocations: 169.9 kB / 429 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.115e-05/0.2547, allocations: 43.52 kB / 429 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.2548, allocations: 56.34 kB / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2548, allocations: 4 kB / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2548, allocations: 3.938 kB / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2548, allocations: 3.984 kB / 429.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2562, allocations: 1.024 MB / 430.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2562, allocations: 0 / 430.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.2564, allocations: 43.95 kB / 430.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003737/0.2568, allocations: 144.7 kB / 430.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.2568, allocations: 4 kB / 430.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.2594, allocations: 2.532 MB / 432.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2595, allocations: 0 / 432.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2605, allocations: 0.7174 MB / 433.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.2607, allocations: 152.5 kB / 433.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.2607, allocations: 12 kB / 433.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2609, allocations: 11.98 kB / 433.7 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.261, allocations: 39.89 kB / 433.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.2611, allocations: 15.98 kB / 433.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.2613, allocations: 227 kB / 434 MB, free: 8.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2613, allocations: 4 kB / 434 MB, free: 8.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005486/0.2619, allocations: 151.6 kB / 434.1 MB, free: 8.574 MB / 350.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.0001496/0.262, allocations: 123.7 kB / 434.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.2629, allocations: 0.5488 MB / 434.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2629, allocations: 0 / 434.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.2634, allocations: 370.4 kB / 435.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2639, allocations: 85.95 kB / 435.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2654, allocations: 0.9057 MB / 436.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.2658, allocations: 0.8279 MB / 437 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.2659, allocations: 35.38 kB / 437 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2659, allocations: 4 kB / 437 MB, free: 5.594 MB / 350.1 MB Notification: Performance of Templates: time 0.009442/0.2753, allocations: 7.225 MB / 444.3 MB, free: 14.41 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches