Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 209.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 53.38 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005639/0.2437, allocations: 3.44 MB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.2458, allocations: 0.9583 MB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.246, allocations: 11.94 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.2464, allocations: 79.22 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.2468, allocations: 150.7 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.2472, allocations: 179.7 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.2479, allocations: 0.6187 MB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.2482, allocations: 144.5 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.2485, allocations: 243.1 kB / 438.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.2488, allocations: 214.9 kB / 438.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.2489, allocations: 60 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2491, allocations: 67.92 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2492, allocations: 123.6 kB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.2495, allocations: 219 kB / 438.8 MB, free: 232 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008645/0.2503, allocations: 0.6573 MB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2503, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2503, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2503, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.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.001699/0.252, allocations: 0.8515 MB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2521, allocations: 8.031 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.2523, allocations: 72.59 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.2529, allocations: 323.2 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2529, allocations: 37.31 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.253, allocations: 44.38 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/0.254, allocations: 495.2 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.254, allocations: 0 / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.254, allocations: 16 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.254, allocations: 8 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.2547, allocations: 327.7 kB / 441.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.2572, allocations: 1.615 MB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.258, allocations: 351.9 kB / 443.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.2586, allocations: 245.4 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.2586, allocations: 12.27 kB / 443.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.2591, allocations: 294.9 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.2591, allocations: 0 / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002415/0.2615, allocations: 0.7681 MB / 444.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2616, allocations: 85.11 kB / 445 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.262, allocations: 312.5 kB / 445.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.262, allocations: 37.7 kB / 445.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.2622, allocations: 229.3 kB / 445.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.2623, allocations: 138.8 kB / 445.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.2625, allocations: 86.14 kB / 445.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.2627, allocations: 350.7 kB / 446.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.2629, allocations: 121 kB / 446.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.2633, allocations: 282 kB / 446.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.264, allocations: 383.3 kB / 446.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.264, allocations: 0 / 446.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000925/0.2649, allocations: 0.5017 MB / 447.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2649, allocations: 8 kB / 447.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.2649, allocations: 3.938 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.2654, allocations: 152.5 kB / 447.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2656, allocations: 63.84 kB / 447.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.2688, allocations: 2.383 MB / 450 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2691, allocations: 47.77 kB / 450 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2691, allocations: 16 kB / 450.1 MB, free: 4.5 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.0002392/0.2693, allocations: 181.8 kB / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.2694, allocations: 43.75 kB / 450.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2695, allocations: 52.23 kB / 450.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2695, allocations: 4 kB / 450.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.2695, allocations: 4 kB / 450.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2695, allocations: 0 / 450.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.271, allocations: 0.8758 MB / 451.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.271, allocations: 0 / 451.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.2712, allocations: 31.92 kB / 451.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.2716, allocations: 143.7 kB / 451.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.2716, allocations: 15.98 kB / 451.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.2746, allocations: 2.376 MB / 453.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2746, allocations: 11.94 kB / 453.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2758, allocations: 0.702 MB / 454.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.276, allocations: 71.7 kB / 454.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.276, allocations: 8 kB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2763, allocations: 15.98 kB / 454.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2764, allocations: 43.81 kB / 454.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.2764, allocations: 12 kB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.2767, allocations: 219.1 kB / 454.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2767, allocations: 4 kB / 454.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.2773, allocations: 155.7 kB / 455 MB, free: 15.37 MB / 366.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.0001758/0.2775, allocations: 113.8 kB / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2786, allocations: 0.529 MB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2786, allocations: 0 / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.2792, allocations: 371.2 kB / 456 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2796, allocations: 69 kB / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.2814, allocations: 0.9214 MB / 457 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.2816, allocations: 224.8 kB / 457.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.2817, allocations: 35.42 kB / 457.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2817, allocations: 0 / 457.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01086/0.2926, allocations: 7.217 MB / 464.5 MB, free: 5.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.720752576831728]