Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008728/0.008728, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.002301/0.002301, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 259 MB, free: 8 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.55 kB / 379.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2358, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005366/0.2411, allocations: 3.795 MB / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2431, allocations: 1.003 MB / 438 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.2433, allocations: 11.94 kB / 438 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.2436, allocations: 75.22 kB / 438.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2439, allocations: 154.7 kB / 438.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2443, allocations: 175.7 kB / 438.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006754/0.245, allocations: 0.6226 MB / 439 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.2453, allocations: 148.6 kB / 439.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.2456, allocations: 243.1 kB / 439.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.246, allocations: 250.9 kB / 439.6 MB, free: 480 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.246, allocations: 56 kB / 439.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2461, allocations: 63.98 kB / 439.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2463, allocations: 123.5 kB / 439.9 MB, free: 236 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.2465, allocations: 278.7 kB / 440.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.2473, allocations: 0.6416 MB / 440.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2473, allocations: 0 / 440.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2473, allocations: 8 kB / 440.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2473, allocations: 0 / 440.8 MB, free: 15.31 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.001544/0.2488, allocations: 0.8553 MB / 441.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2489, allocations: 12.03 kB / 441.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.2491, allocations: 64.59 kB / 441.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.2496, allocations: 323.1 kB / 442 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.2496, allocations: 33.38 kB / 442.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.2497, allocations: 44.31 kB / 442.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.2505, allocations: 469.5 kB / 442.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2505, allocations: 4 kB / 442.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.2506, allocations: 16 kB / 442.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2506, allocations: 8 kB / 442.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.2512, allocations: 323.8 kB / 442.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.2538, allocations: 1.801 MB / 444.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.2545, allocations: 351.9 kB / 445.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.2551, allocations: 254.1 kB / 445.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2551, allocations: 4.328 kB / 445.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.2556, allocations: 274.4 kB / 445.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.2556, allocations: 0 / 445.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002371/0.258, allocations: 0.7643 MB / 446.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.2581, allocations: 85.09 kB / 446.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.2584, allocations: 328.4 kB / 446.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.2585, allocations: 41.69 kB / 446.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2587, allocations: 216.7 kB / 447 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2588, allocations: 150.7 kB / 447.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2589, allocations: 90.14 kB / 447.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2591, allocations: 350.7 kB / 447.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2593, allocations: 117 kB / 447.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.2597, allocations: 252.4 kB / 447.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.2603, allocations: 378.7 kB / 448.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2603, allocations: 0 / 448.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009217/0.2613, allocations: 0.5013 MB / 448.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2613, allocations: 11.92 kB / 448.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2613, allocations: 4.047 kB / 448.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.2618, allocations: 157.1 kB / 449 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.262, allocations: 71.84 kB / 449.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.2652, allocations: 2.438 MB / 451.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2655, allocations: 47.67 kB / 451.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2655, allocations: 16 kB / 451.6 MB, free: 4.051 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.0002685/0.2658, allocations: 185.8 kB / 451.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.2658, allocations: 43.7 kB / 451.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2659, allocations: 52.41 kB / 451.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2659, allocations: 4 kB / 451.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2659, allocations: 0 / 451.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2659, allocations: 7.922 kB / 451.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.2675, allocations: 0.9844 MB / 452.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2676, allocations: 0 / 452.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2677, allocations: 39.95 kB / 452.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.2681, allocations: 147.8 kB / 453 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.2682, allocations: 11.98 kB / 453 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.2712, allocations: 2.434 MB / 455.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.2712, allocations: 8 kB / 455.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2724, allocations: 0.702 MB / 456.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.2726, allocations: 79.59 kB / 456.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.2727, allocations: 8 kB / 456.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2729, allocations: 23.92 kB / 456.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.273, allocations: 31.94 kB / 456.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.273, allocations: 15.98 kB / 456.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.2733, allocations: 227.1 kB / 456.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2733, allocations: 0 / 456.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006136/0.2739, allocations: 147.8 kB / 456.7 MB, free: 14.71 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.0001704/0.2741, allocations: 129.9 kB / 456.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2751, allocations: 0.5253 MB / 457.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2751, allocations: 0 / 457.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.2757, allocations: 370.3 kB / 457.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.2762, allocations: 86.23 kB / 457.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.278, allocations: 0.9214 MB / 458.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.2784, allocations: 0.8279 MB / 459.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.2785, allocations: 31.42 kB / 459.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2785, allocations: 7.938 kB / 459.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01082/0.2893, allocations: 7.187 MB / 466.8 MB, free: 4.586 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 8.016457346035168]