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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.89 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2413, allocations: 53.42 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005368/0.2466, allocations: 3.783 MB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2485, allocations: 1.005 MB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2488, allocations: 11.94 kB / 437.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.249, allocations: 87.16 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.2494, allocations: 146.7 kB / 437.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.2499, allocations: 179.7 kB / 437.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007125/0.2506, allocations: 0.6265 MB / 438.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.2509, allocations: 152.6 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.2512, allocations: 247.1 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2516, allocations: 254.8 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.2517, allocations: 60 kB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.2518, allocations: 56 kB / 439 MB, free: 160 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2519, allocations: 119.6 kB / 439.2 MB, free: 40 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.2522, allocations: 278.7 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.253, allocations: 0.6474 MB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.253, allocations: 0 / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.253, allocations: 0 / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.253, allocations: 0 / 440.1 MB, free: 15.11 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.001593/0.2546, allocations: 0.8592 MB / 440.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2546, allocations: 12.02 kB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.2548, allocations: 64.61 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.2554, allocations: 319.2 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.2554, allocations: 37.36 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.2555, allocations: 48.31 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.2563, allocations: 457.5 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.2563, allocations: 0 / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.2564, allocations: 16 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2564, allocations: 12 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.257, allocations: 327.7 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.2596, allocations: 1.805 MB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.2603, allocations: 348.6 kB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/0.2609, allocations: 252.7 kB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.261, allocations: 4.328 kB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.2615, allocations: 265.2 kB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.2615, allocations: 0 / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002337/0.2638, allocations: 0.7748 MB / 445.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.2639, allocations: 93.11 kB / 445.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.2643, allocations: 332.4 kB / 446.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2643, allocations: 29.7 kB / 446.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2645, allocations: 224.7 kB / 446.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2647, allocations: 146.8 kB / 446.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.2648, allocations: 86.14 kB / 446.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.265, allocations: 350.7 kB / 446.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.2652, allocations: 125 kB / 447 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.2656, allocations: 256.3 kB / 447.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.2662, allocations: 370.8 kB / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2662, allocations: 4 kB / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009407/0.2671, allocations: 0.5017 MB / 448.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2671, allocations: 11.94 kB / 448.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2672, allocations: 4 kB / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.2677, allocations: 156.6 kB / 448.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2679, allocations: 59.91 kB / 448.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.2711, allocations: 2.448 MB / 450.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.2714, allocations: 43.67 kB / 450.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2714, allocations: 24.03 kB / 450.9 MB, free: 3.84 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.0002868/0.2717, allocations: 173.8 kB / 451 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.2718, allocations: 43.7 kB / 451.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2719, allocations: 48.41 kB / 451.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2719, allocations: 4 kB / 451.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2719, allocations: 4 kB / 451.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.2719, allocations: 3.984 kB / 451.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.2735, allocations: 0.9921 MB / 452.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2735, allocations: 0 / 452.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2737, allocations: 31.98 kB / 452.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.2741, allocations: 148.8 kB / 452.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2741, allocations: 8 kB / 452.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.2772, allocations: 2.444 MB / 454.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2772, allocations: 4 kB / 454.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2785, allocations: 0.6996 MB / 455.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.2787, allocations: 79.59 kB / 455.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.2787, allocations: 12 kB / 455.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2789, allocations: 23.86 kB / 455.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.279, allocations: 39.92 kB / 455.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.2791, allocations: 12 kB / 455.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.2793, allocations: 227.1 kB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 0 / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000647/0.28, allocations: 143.8 kB / 456 MB, free: 14.52 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.0001785/0.2802, allocations: 123.1 kB / 456.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.2812, allocations: 0.5332 MB / 456.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2812, allocations: 0.9375 kB / 456.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.2818, allocations: 362.4 kB / 457 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2823, allocations: 91.28 kB / 457.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2841, allocations: 0.9219 MB / 458 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.2846, allocations: 0.8357 MB / 458.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.2847, allocations: 31.44 kB / 458.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2847, allocations: 4 kB / 458.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01073/0.2954, allocations: 7.187 MB / 466.1 MB, free: 4.391 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.95851321099326]