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.00128/0.00128, allocations: 119.5 kB / 21.17 MB, free: 0.7305 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.001392/0.001392, allocations: 213.5 kB / 24.47 MB, free: 4.191 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.379/1.379, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.00189/0.00189, allocations: 67.83 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2524, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005305/0.2577, allocations: 3.788 MB / 435.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2597, allocations: 1.003 MB / 436.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.2599, allocations: 8 kB / 436.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.2602, allocations: 83.16 kB / 436.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.2606, allocations: 150.7 kB / 437.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.261, allocations: 175.7 kB / 437.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.2617, allocations: 0.6264 MB / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.262, allocations: 144.1 kB / 438 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.2623, allocations: 243.1 kB / 438.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.2627, allocations: 250.8 kB / 438.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.2628, allocations: 56 kB / 438.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2629, allocations: 63.98 kB / 438.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.263, allocations: 119.6 kB / 438.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.2633, allocations: 270.7 kB / 439 MB, free: 424 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.264, allocations: 0.6576 MB / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.264, allocations: 0 / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.264, allocations: 0 / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.264, allocations: 0 / 439.7 MB, free: 15.75 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.001579/0.2656, allocations: 0.93 MB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2657, allocations: 8.031 kB / 440.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2659, allocations: 72.59 kB / 440.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.2664, allocations: 385 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2664, allocations: 33.31 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.2665, allocations: 44.38 kB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.2673, allocations: 461.5 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2673, allocations: 4 kB / 441.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.2674, allocations: 20 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2674, allocations: 11.94 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.268, allocations: 323.8 kB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.2705, allocations: 1.852 MB / 443.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.2714, allocations: 0.5778 MB / 444.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.272, allocations: 241.4 kB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.272, allocations: 12.33 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.2725, allocations: 269.2 kB / 444.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/0.2725, allocations: 0 / 444.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002424/0.2749, allocations: 0.8473 MB / 445.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.275, allocations: 85.11 kB / 445.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2754, allocations: 324.5 kB / 446.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.2754, allocations: 33.7 kB / 446.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2756, allocations: 220.7 kB / 446.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2757, allocations: 142.8 kB / 446.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2759, allocations: 94.2 kB / 446.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.276, allocations: 350.7 kB / 446.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2763, allocations: 121 kB / 447.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.2766, allocations: 257 kB / 447.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.2772, allocations: 382.8 kB / 447.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2772, allocations: 0 / 447.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009276/0.2781, allocations: 0.5012 MB / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2782, allocations: 11.94 kB / 448.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2782, allocations: 4 kB / 448.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.2787, allocations: 156.8 kB / 448.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.2789, allocations: 63.91 kB / 448.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.2821, allocations: 2.54 MB / 451 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.2824, allocations: 47.77 kB / 451 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.2824, allocations: 20 kB / 451 MB, free: 3.762 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.0002726/0.2827, allocations: 173.7 kB / 451.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.2828, allocations: 43.7 kB / 451.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.2829, allocations: 44.41 kB / 451.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2829, allocations: 4 kB / 451.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2829, allocations: 7.938 kB / 451.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2829, allocations: 7.984 kB / 451.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.2846, allocations: 1.017 MB / 452.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2846, allocations: 0 / 452.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.2848, allocations: 31.98 kB / 452.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.2851, allocations: 144.8 kB / 452.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.2852, allocations: 8 kB / 452.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.2882, allocations: 2.557 MB / 455.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2882, allocations: 0 / 455.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2894, allocations: 0.6982 MB / 455.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2896, allocations: 160.7 kB / 455.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.2897, allocations: 19.94 kB / 455.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2899, allocations: 11.98 kB / 455.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.29, allocations: 35.95 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.29, allocations: 8 kB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.2903, allocations: 231 kB / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2903, allocations: 0 / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006015/0.2909, allocations: 143.8 kB / 456.3 MB, free: 14.18 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.0001619/0.291, allocations: 127.4 kB / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2921, allocations: 0.522 MB / 457 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2921, allocations: 8.125 kB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.2926, allocations: 350.4 kB / 457.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.2931, allocations: 97.3 kB / 457.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2948, allocations: 0.9318 MB / 458.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2953, allocations: 0.8318 MB / 459.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.2954, allocations: 27.44 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2954, allocations: 0 / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01081/0.3062, allocations: 7.198 MB / 466.4 MB, free: 4.051 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.426517948973924]