Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 214 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 55.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2309, allocations: 53.36 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005954/0.2369, allocations: 4.199 MB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2393, allocations: 1.262 MB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.2396, allocations: 31.75 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.24, allocations: 178.6 kB / 437.3 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00094/0.2409, allocations: 370 kB / 437.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2413, allocations: 215.6 kB / 437.8 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.243, allocations: 1.627 MB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/0.2439, allocations: 0.5677 MB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.2448, allocations: 0.7124 MB / 440.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.246, allocations: 0.8757 MB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.2463, allocations: 180 kB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.2466, allocations: 180 kB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.247, allocations: 486.5 kB / 442.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006768/0.2477, allocations: 0.6495 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.2499, allocations: 2.287 MB / 445.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2499, allocations: 4 kB / 445.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2499, allocations: 0 / 445.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.2499, allocations: 3.938 kB / 445.4 MB, free: 8.812 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003564/0.2535, allocations: 2.068 MB / 447.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2535, allocations: 8.031 kB / 447.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.2542, allocations: 215.9 kB / 447.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.256, allocations: 0.971 MB / 448.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.2561, allocations: 74.44 kB / 448.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2562, allocations: 112 kB / 448.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.2588, allocations: 1.578 MB / 450.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.2588, allocations: 0 / 450.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2589, allocations: 44 kB / 450.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.259, allocations: 46.03 kB / 450.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.2614, allocations: 1.433 MB / 451.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007007/0.2685, allocations: 4.32 MB / 456.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.27, allocations: 0.9407 MB / 457.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.2713, allocations: 0.6806 MB / 457.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.2713, allocations: 8.656 kB / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2724, allocations: 0.6413 MB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.2724, allocations: 0 / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005949/0.2783, allocations: 2.352 MB / 460.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.2784, allocations: 93.75 kB / 461 MB, free: 8.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2797, allocations: 0.9228 MB / 461.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.2798, allocations: 37.7 kB / 461.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.2803, allocations: 0.5474 MB / 462.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.2805, allocations: 249.9 kB / 462.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.2807, allocations: 130.7 kB / 462.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2809, allocations: 334 kB / 463.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.2816, allocations: 413.7 kB / 463.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/0.2824, allocations: 0.5776 MB / 464.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2839, allocations: 0.9521 MB / 465.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2839, allocations: 0 / 465.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002278/0.2862, allocations: 1.29 MB / 466.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2862, allocations: 8 kB / 466.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2862, allocations: 4 kB / 466.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009227/0.2872, allocations: 399.5 kB / 466.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.2876, allocations: 115.8 kB / 466.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.2934, allocations: 4.322 MB / 471.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.2941, allocations: 79.64 kB / 471.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.2942, allocations: 24 kB / 471.3 MB, free: 14.23 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008568/0.295, allocations: 0.4943 MB / 471.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.2952, allocations: 103.3 kB / 471.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.2955, allocations: 120.5 kB / 472 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2955, allocations: 4 kB / 472 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2955, allocations: 4 kB / 472 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2955, allocations: 3.984 kB / 472 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.2998, allocations: 2.275 MB / 474.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2998, allocations: 0 / 474.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.3002, allocations: 83.88 kB / 474.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008862/0.3011, allocations: 389 kB / 474.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3012, allocations: 12 kB / 474.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.3072, allocations: 4.294 MB / 479.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3072, allocations: 0 / 479.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.3105, allocations: 1.944 MB / 481 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.3111, allocations: 227.1 kB / 481.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.3112, allocations: 16 kB / 481.3 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.3117, allocations: 39.95 kB / 481.3 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.3119, allocations: 80.5 kB / 481.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.3119, allocations: 19.98 kB / 481.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.313, allocations: 0.6629 MB / 482.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.313, allocations: 0 / 482.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001113/0.3141, allocations: 363.1 kB / 482.4 MB, free: 2.945 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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002086/0.3143, allocations: 133.4 kB / 482.6 MB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.3167, allocations: 1.241 MB / 483.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3167, allocations: 0 / 483.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3181, allocations: 0.7803 MB / 484.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3191, allocations: 247 kB / 484.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.3243, allocations: 2.677 MB / 487.5 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.3252, allocations: 0.8142 MB / 488.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005511/0.3258, allocations: 159.2 kB / 488.5 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.326, allocations: 63.42 kB / 488.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.326, allocations: 0 / 488.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.0326/0.3586, allocations: 18.87 MB / 0.4955 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 5.237399522215128]