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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 185 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.238, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005219/0.2432, allocations: 3.414 MB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2451, allocations: 0.8883 MB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.2454, allocations: 7.938 kB / 428.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2456, allocations: 83.16 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.246, allocations: 146.8 kB / 428.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2464, allocations: 167.7 kB / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.2471, allocations: 0.6031 MB / 429.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.2474, allocations: 144.6 kB / 429.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2477, allocations: 231.1 kB / 429.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.248, allocations: 226.8 kB / 429.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.2481, allocations: 56 kB / 429.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.2482, allocations: 52 kB / 429.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2484, allocations: 123.6 kB / 429.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.2486, allocations: 218.9 kB / 430.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.2493, allocations: 0.6372 MB / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2493, allocations: 0 / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2493, allocations: 0 / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2494, allocations: 0 / 430.8 MB, free: 7.5 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.001587/0.2509, allocations: 0.8508 MB / 431.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.251, allocations: 12.03 kB / 431.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2511, allocations: 56.61 kB / 431.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.2517, allocations: 311.2 kB / 432 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.2517, allocations: 33.38 kB / 432.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.2518, allocations: 48.36 kB / 432.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.2526, allocations: 487.2 kB / 432.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2526, allocations: 0 / 432.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.2527, allocations: 20 kB / 432.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2527, allocations: 12 kB / 432.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.2533, allocations: 319.8 kB / 432.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.2558, allocations: 1.599 MB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.2566, allocations: 359.8 kB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.2572, allocations: 249.4 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.2572, allocations: 12.33 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.2577, allocations: 294.8 kB / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.235e-06/0.2577, allocations: 0 / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002392/0.2601, allocations: 0.7682 MB / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.2602, allocations: 93.03 kB / 436.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.2606, allocations: 300.5 kB / 436.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2606, allocations: 33.7 kB / 436.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2608, allocations: 225.3 kB / 436.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.2609, allocations: 146.8 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.2611, allocations: 90.08 kB / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2612, allocations: 350.7 kB / 437.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2615, allocations: 117 kB / 437.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.2619, allocations: 274.1 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.2625, allocations: 387.1 kB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2625, allocations: 4 kB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009212/0.2634, allocations: 0.4941 MB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2634, allocations: 4 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.2634, allocations: 7.938 kB / 438.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.2639, allocations: 148.7 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2642, allocations: 63.84 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.2673, allocations: 2.385 MB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2676, allocations: 35.83 kB / 441.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.2676, allocations: 23.98 kB / 441.3 MB, free: 12.49 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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0002683/0.2679, allocations: 177.7 kB / 441.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.268, allocations: 39.77 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.2681, allocations: 51.42 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2681, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2681, allocations: 0 / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2681, allocations: 3.984 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2696, allocations: 0.868 MB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2696, allocations: 0 / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.2698, allocations: 39.91 kB / 442.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.2702, allocations: 140.8 kB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.2702, allocations: 8 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.2731, allocations: 2.374 MB / 445 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2731, allocations: 8 kB / 445 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2743, allocations: 0.7172 MB / 445.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2745, allocations: 75.97 kB / 445.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.2746, allocations: 12 kB / 445.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2748, allocations: 15.98 kB / 445.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2749, allocations: 43.86 kB / 445.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.2749, allocations: 11.98 kB / 445.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.2752, allocations: 203.1 kB / 446.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 4 kB / 446.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006181/0.2758, allocations: 151.7 kB / 446.2 MB, free: 7.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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.0001557/0.2759, allocations: 119.2 kB / 446.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.277, allocations: 0.5291 MB / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.277, allocations: 0 / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.2776, allocations: 371.2 kB / 447.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.278, allocations: 75.94 kB / 447.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2798, allocations: 0.9091 MB / 448.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.28, allocations: 220.7 kB / 448.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.2801, allocations: 27.44 kB / 448.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2801, allocations: 0 / 448.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Templates: time 0.0104/0.2905, allocations: 7.056 MB / 455.5 MB, free: 14.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.612314351834357]