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.001275/0.001275, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001426/0.001426, allocations: 214.3 kB / 23 MB, free: 5.578 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.422/1.422, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001875/0.001875, allocations: 63.91 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2699, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005302/0.2752, allocations: 3.783 MB / 433.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2769, allocations: 1.003 MB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2771, allocations: 11.94 kB / 434.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.2773, allocations: 83.22 kB / 434.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.2777, allocations: 146.7 kB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.2781, allocations: 179.7 kB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.2788, allocations: 0.6226 MB / 435.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.2791, allocations: 152.1 kB / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.2795, allocations: 239.1 kB / 436 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.2798, allocations: 258.8 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.2799, allocations: 56 kB / 436.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.28, allocations: 67.94 kB / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2801, allocations: 119.6 kB / 436.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2804, allocations: 274.6 kB / 436.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.2811, allocations: 0.6496 MB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2811, allocations: 0 / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2811, allocations: 3.938 kB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2811, allocations: 0 / 437.4 MB, free: 15.86 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.001428/0.2826, allocations: 0.8072 MB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2826, allocations: 8.031 kB / 438.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.2828, allocations: 68.59 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.2833, allocations: 384.9 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.2833, allocations: 33.38 kB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.2834, allocations: 48.31 kB / 438.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.2842, allocations: 469.5 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2843, allocations: 0 / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.2843, allocations: 19.98 kB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2843, allocations: 12 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.2849, allocations: 319.8 kB / 439.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2874, allocations: 1.856 MB / 441.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.2882, allocations: 0.5739 MB / 442 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.2888, allocations: 248.7 kB / 442.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.2888, allocations: 4.328 kB / 442.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.2893, allocations: 273.1 kB / 442.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.452e-06/0.2893, allocations: 0 / 442.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002274/0.2916, allocations: 0.8395 MB / 443.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.2917, allocations: 81.11 kB / 443.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.292, allocations: 328.5 kB / 443.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.292, allocations: 33.7 kB / 443.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2922, allocations: 224.7 kB / 444 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2923, allocations: 138.8 kB / 444.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.2925, allocations: 90.2 kB / 444.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2926, allocations: 350.7 kB / 444.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.2929, allocations: 125 kB / 444.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.2932, allocations: 253 kB / 444.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.2938, allocations: 374.3 kB / 445.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2938, allocations: 4 kB / 445.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008847/0.2947, allocations: 0.4982 MB / 445.8 MB, free: 7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2947, allocations: 12.03 kB / 445.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2947, allocations: 7.984 kB / 445.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.2952, allocations: 156.6 kB / 446 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.2954, allocations: 59.91 kB / 446 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.2984, allocations: 2.552 MB / 448.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2987, allocations: 39.73 kB / 448.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2987, allocations: 16 kB / 448.6 MB, free: 4.023 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.000219/0.2989, allocations: 185.7 kB / 448.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.299, allocations: 39.77 kB / 448.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.2991, allocations: 52.34 kB / 448.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2991, allocations: 4 kB / 448.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2991, allocations: 0 / 448.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2991, allocations: 3.938 kB / 448.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3007, allocations: 1.024 MB / 449.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.3007, allocations: 0 / 449.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3009, allocations: 39.92 kB / 450 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.3013, allocations: 139.1 kB / 450.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3013, allocations: 11.98 kB / 450.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.3043, allocations: 2.54 MB / 452.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3043, allocations: 0 / 452.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.3055, allocations: 0.7059 MB / 453.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3057, allocations: 172.6 kB / 453.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.3057, allocations: 8 kB / 453.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.306, allocations: 12 kB / 453.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3061, allocations: 35.94 kB / 453.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.3061, allocations: 12 kB / 453.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.3064, allocations: 231.1 kB / 453.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3064, allocations: 0 / 453.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.3069, allocations: 147.8 kB / 454 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001949/0.3071, allocations: 123.4 kB / 454.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3081, allocations: 0.5251 MB / 454.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3081, allocations: 0 / 454.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.3087, allocations: 363.2 kB / 455 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3091, allocations: 81.55 kB / 455.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3109, allocations: 0.9033 MB / 456 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.3114, allocations: 0.8279 MB / 456.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3116, allocations: 39.34 kB / 456.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.3116, allocations: 35.38 kB / 456.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3116, allocations: 0 / 456.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01334/0.325, allocations: 7.288 MB / 464.2 MB, free: 4.297 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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: 4.568743939511478]