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.RectifierBridge2mPulse.DiodeBridge2mPulse.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.008238/0.008238, allocations: 103.2 kB / 21.97 MB, free: 5.207 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.002283/0.002283, allocations: 224.6 kB / 25.3 MB, free: 3.211 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.505/1.505, allocations: 230.5 MB / 259 MB, free: 8.039 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [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.002044/0.002044, allocations: 67.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2406, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006675/0.2473, allocations: 4.815 MB / 438 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.2504, allocations: 1.383 MB / 439.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.2509, allocations: 35.75 kB / 439.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.2516, allocations: 230.4 kB / 439.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.2526, allocations: 374 kB / 440 MB, free: 144 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2531, allocations: 235.5 kB / 440.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.2549, allocations: 1.541 MB / 441.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.2558, allocations: 0.567 MB / 442.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.2567, allocations: 0.662 MB / 443 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.2579, allocations: 0.7861 MB / 443.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.2581, allocations: 164 kB / 444 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.2584, allocations: 168 kB / 444.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.2588, allocations: 446.7 kB / 444.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.2596, allocations: 0.7388 MB / 445.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.2619, allocations: 2.107 MB / 447.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.262, allocations: 0 / 447.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.262, allocations: 0 / 447.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.173e-05/0.262, allocations: 0 / 447.4 MB, free: 8.699 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00353/0.2655, allocations: 1.9 MB / 449.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2656, allocations: 12.03 kB / 449.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.2661, allocations: 176 kB / 449.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.2677, allocations: 0.9085 MB / 450.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.2678, allocations: 74.38 kB / 450.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.268, allocations: 100.1 kB / 450.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.2705, allocations: 1.447 MB / 452 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.2705, allocations: 0 / 452 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.2706, allocations: 44 kB / 452.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.2707, allocations: 41.98 kB / 452.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.273, allocations: 1.3 MB / 453.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007025/0.28, allocations: 4.251 MB / 457.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2817, allocations: 0.9994 MB / 458.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.283, allocations: 0.6892 MB / 459.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.2831, allocations: 4.656 kB / 459.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.2841, allocations: 0.6001 MB / 459.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.014e-06/0.2841, allocations: 4 kB / 459.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008058/0.2922, allocations: 2.751 MB / 462.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.2923, allocations: 115.5 kB / 462.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.2935, allocations: 0.8442 MB / 463.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.2936, allocations: 45.64 kB / 463.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.294, allocations: 0.4968 MB / 464.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.2943, allocations: 257.9 kB / 464.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.2945, allocations: 138.6 kB / 464.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2947, allocations: 334 kB / 464.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.2953, allocations: 389.7 kB / 465.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.2961, allocations: 0.5494 MB / 465.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.2975, allocations: 0.9093 MB / 466.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2975, allocations: 0 / 466.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002236/0.2998, allocations: 1.294 MB / 468 MB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2998, allocations: 8 kB / 468 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2998, allocations: 4 kB / 468.1 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3009, allocations: 468.4 kB / 468.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.3013, allocations: 91.88 kB / 468.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007634/0.3089, allocations: 5.488 MB / 474.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.3095, allocations: 83.58 kB / 474.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.3096, allocations: 31.94 kB / 474.2 MB, free: 13.37 MB / 382.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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006932/0.3103, allocations: 459.2 kB / 474.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3104, allocations: 95.39 kB / 474.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3107, allocations: 116.7 kB / 474.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.3107, allocations: 8 kB / 474.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3107, allocations: 0 / 474.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3107, allocations: 3.984 kB / 474.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.3149, allocations: 2.567 MB / 477.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3149, allocations: 0 / 477.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.3152, allocations: 63.89 kB / 477.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.3162, allocations: 464.9 kB / 478 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3162, allocations: 8 kB / 478 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007416/0.3236, allocations: 5.431 MB / 483.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3236, allocations: 7.875 kB / 483.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.3267, allocations: 1.898 MB / 485.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.3272, allocations: 211.2 kB / 485.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3273, allocations: 15.98 kB / 485.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.3277, allocations: 43.95 kB / 485.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.328, allocations: 72.52 kB / 485.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.328, allocations: 27.98 kB / 485.7 MB, free: 1.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008434/0.3289, allocations: 0.6005 MB / 486.3 MB, free: 1.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 3.938 kB / 486.3 MB, free: 1.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3299, allocations: 351.2 kB / 486.6 MB, free: 0.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.33, allocations: 123.2 kB / 486.7 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.3323, allocations: 1.248 MB / 488 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.3323, allocations: 4.312 kB / 488 MB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.3336, allocations: 0.8004 MB / 488.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3348, allocations: 274.7 kB / 489 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.3392, allocations: 2.393 MB / 491.4 MB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3403, allocations: 1.3 MB / 492.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3405, allocations: 55.44 kB / 492.8 MB, free: 10.47 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3405, allocations: 4 kB / 492.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of Templates: time 0.02915/0.3696, allocations: 20.98 MB / 0.5017 GB, free: 5.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 9.466725712874904]