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.0008281/0.0008281, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002184, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008487/0.0008487, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002024, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9586/0.9586, allocations: 177.5 MB / 190.1 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08363/1.042, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.263e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.009791/0.009814, allocations: 3.739 MB / 249 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.01285, allocations: 1.032 MB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.01308, allocations: 11.94 kB / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.01326, allocations: 79.17 kB / 250.1 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.01353, allocations: 158.6 kB / 250.2 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.01389, allocations: 179.6 kB / 250.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.01448, allocations: 0.6418 MB / 251.1 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.01472, allocations: 149.2 kB / 251.2 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.01519, allocations: 414.2 kB / 251.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.01546, allocations: 199.4 kB / 251.8 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.01553, allocations: 56 kB / 251.9 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.01565, allocations: 56 kB / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.01574, allocations: 91.69 kB / 252 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.01589, allocations: 155.7 kB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.01632, allocations: 378.6 kB / 252.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.01633, allocations: 0 / 252.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01633, allocations: 0 / 252.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.01634, allocations: 4 kB / 252.5 MB, free: 6.223 MB / 250.7 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.0009741/0.01731, allocations: 0.816 MB / 253.3 MB, free: 5.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.01734, allocations: 8.625 kB / 253.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.01754, allocations: 162 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01787, allocations: 249.5 kB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.0179, allocations: 37.38 kB / 253.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.01795, allocations: 44.36 kB / 253.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.01835, allocations: 376.4 kB / 254.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01837, allocations: 4.125 kB / 254.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.0184, allocations: 23.92 kB / 254.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01841, allocations: 12 kB / 254.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.0186, allocations: 122.9 kB / 254.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.02002, allocations: 1.326 MB / 255.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.02037, allocations: 251.4 kB / 255.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.02064, allocations: 177.3 kB / 256.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.02067, allocations: 8.328 kB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.02092, allocations: 234.7 kB / 256.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.02092, allocations: 0 / 256.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001136/0.02206, allocations: 0.5056 MB / 256.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.02209, allocations: 59.39 kB / 256.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.02229, allocations: 278.9 kB / 257.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.02232, allocations: 33.7 kB / 257.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.02242, allocations: 209.7 kB / 257.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.02254, allocations: 138.8 kB / 257.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02264, allocations: 90.14 kB / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.02273, allocations: 346.7 kB / 258 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.0228, allocations: 44.97 kB / 258 MB, free: 468 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.02295, allocations: 202.1 kB / 258.2 MB, free: 200 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.02321, allocations: 258.4 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02321, allocations: 0 / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003954/0.02361, allocations: 301.6 kB / 258.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.02362, allocations: 8 kB / 258.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02363, allocations: 4 kB / 258.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.02389, allocations: 108.5 kB / 258.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.02408, allocations: 79.89 kB / 259 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.02555, allocations: 1.833 MB / 260.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.02571, allocations: 43.72 kB / 260.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.02573, allocations: 16 kB / 260.8 MB, free: 13.42 MB / 266.7 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.0001182/0.02585, allocations: 148.4 kB / 261 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.02589, allocations: 39.95 kB / 261 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.02596, allocations: 48.3 kB / 261.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02596, allocations: 8 kB / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.02596, allocations: 0 / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02597, allocations: 0 / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.02663, allocations: 0.5405 MB / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.02663, allocations: 0 / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.02675, allocations: 43.97 kB / 261.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.02684, allocations: 59.56 kB / 261.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.02706, allocations: 103.9 kB / 261.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.02708, allocations: 8 kB / 261.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.02817, allocations: 1.831 MB / 263.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.02818, allocations: 4 kB / 263.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.02854, allocations: 416.2 kB / 264.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.02857, allocations: 15.92 kB / 264.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.02867, allocations: 12 kB / 264.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.02873, allocations: 39.92 kB / 264.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.02874, allocations: 8 kB / 264.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.02881, allocations: 108.6 kB / 264.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02881, allocations: 0 / 264.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.02913, allocations: 143.8 kB / 264.4 MB, free: 9.715 MB / 266.7 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.0001029/0.02923, allocations: 100.3 kB / 264.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.02963, allocations: 410.9 kB / 264.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.02964, allocations: 4 kB / 264.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.02987, allocations: 324.1 kB / 265.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.03029, allocations: 0.7765 MB / 266 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.03308, allocations: 0.8658 MB / 266.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.03318, allocations: 118.3 kB / 267 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.28e-05/0.03327, allocations: 43.25 kB / 267 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.03343, allocations: 123.3 kB / 267.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03343, allocations: 4 kB / 267.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.009104/0.04253, allocations: 7.189 MB / 274.3 MB, free: 15.71 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7787233954295516]