Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 107.4 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 47.92 kB / 350.1 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.217, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003838/0.2209, allocations: 3.735 MB / 403.2 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2219, allocations: 0.8914 MB / 404.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2221, allocations: 8 kB / 404.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.2223, allocations: 67.47 kB / 404.2 MB, free: 28.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2226, allocations: 115.1 kB / 404.3 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.2228, allocations: 143.8 kB / 404.4 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.2232, allocations: 0.5797 MB / 405 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.2235, allocations: 191.2 kB / 405.2 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2236, allocations: 199.2 kB / 405.4 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2239, allocations: 230.9 kB / 405.6 MB, free: 27.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.224, allocations: 32 kB / 405.7 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.224, allocations: 32 kB / 405.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2242, allocations: 99.55 kB / 405.8 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.2244, allocations: 246.7 kB / 406 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.225, allocations: 0.5956 MB / 406.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.225, allocations: 3.938 kB / 406.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.225, allocations: 0 / 406.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2251, allocations: 4 kB / 406.6 MB, free: 26.21 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001672/0.2267, allocations: 0.769 MB / 407.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2268, allocations: 8.031 kB / 407.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2269, allocations: 68.28 kB / 407.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.2275, allocations: 364.1 kB / 407.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.2275, allocations: 33.38 kB / 407.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.2277, allocations: 40.38 kB / 407.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2287, allocations: 465.5 kB / 408.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.2287, allocations: 8 kB / 408.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.2288, allocations: 16 kB / 408.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2288, allocations: 11.98 kB / 408.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.2297, allocations: 327.7 kB / 408.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.2329, allocations: 1.847 MB / 410.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2339, allocations: 0.6086 MB / 411.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/0.2347, allocations: 265.4 kB / 411.4 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.2347, allocations: 12.25 kB / 411.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.2353, allocations: 273.2 kB / 411.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.2353, allocations: 4 kB / 411.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.003045/0.2383, allocations: 0.8383 MB / 412.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2384, allocations: 85.11 kB / 412.6 MB, free: 19.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.2388, allocations: 316.5 kB / 412.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2388, allocations: 33.7 kB / 413 MB, free: 19.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.239, allocations: 212.4 kB / 413.2 MB, free: 19.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.2391, allocations: 142 kB / 413.3 MB, free: 19.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.2393, allocations: 82.25 kB / 413.4 MB, free: 19.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.2394, allocations: 350.7 kB / 413.7 MB, free: 18.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.2397, allocations: 121.1 kB / 413.9 MB, free: 18.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2402, allocations: 250.1 kB / 414.1 MB, free: 18.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.2408, allocations: 379.2 kB / 414.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2409, allocations: 0 / 414.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009604/0.2418, allocations: 0.5088 MB / 415 MB, free: 17.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2419, allocations: 8 kB / 415 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.2419, allocations: 4 kB / 415 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.2424, allocations: 161.1 kB / 415.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.2427, allocations: 67.84 kB / 415.2 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.2451, allocations: 2.311 MB / 417.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2454, allocations: 47.62 kB / 417.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2454, allocations: 20 kB / 417.6 MB, free: 14.62 MB / 298.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: 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.0001639/0.2456, allocations: 178 kB / 417.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.2456, allocations: 39.53 kB / 417.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.2457, allocations: 48.3 kB / 417.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2457, allocations: 4 kB / 417.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2457, allocations: 3.938 kB / 417.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2458, allocations: 7.984 kB / 417.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.2469, allocations: 1.012 MB / 418.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2469, allocations: 0 / 418.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.2471, allocations: 39.91 kB / 418.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.2474, allocations: 147.4 kB / 419.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.2474, allocations: 12 kB / 419.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.2494, allocations: 2.3 MB / 421.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2494, allocations: 4 kB / 421.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.2547, allocations: 5.243 MB / 426.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2548, allocations: 152.5 kB / 426.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.2549, allocations: 15.92 kB / 426.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2551, allocations: 8 kB / 426.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2552, allocations: 39.94 kB / 426.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2552, allocations: 8 kB / 426.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.2554, allocations: 227.1 kB / 427.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2554, allocations: 0 / 427.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006728/0.2561, allocations: 187.7 kB / 427.3 MB, free: 4.453 MB / 298.7 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.0001207/0.2562, allocations: 120.8 kB / 427.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.2569, allocations: 0.533 MB / 427.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2569, allocations: 0 / 427.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.2573, allocations: 371.1 kB / 428.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.2578, allocations: 84.92 kB / 428.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2593, allocations: 1.497 MB / 429.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2595, allocations: 0.8399 MB / 430.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.2597, allocations: 35.31 kB / 430.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.2597, allocations: 31.42 kB / 430.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2597, allocations: 0 / 430.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Templates: time 0.01173/0.2715, allocations: 7.732 MB / 438.5 MB, free: 9.25 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches