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.001287/0.001287, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001398/0.001398, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001672/0.001672, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2197, allocations: 53.38 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006283/0.226, allocations: 4.195 MB / 436.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.2285, allocations: 1.27 MB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2288, allocations: 31.75 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2292, allocations: 174.6 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009453/0.2301, allocations: 370 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2305, allocations: 215.7 kB / 438.6 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2322, allocations: 1.634 MB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.2332, allocations: 0.5834 MB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/0.2341, allocations: 0.7009 MB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.2352, allocations: 0.8795 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.2354, allocations: 180 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2358, allocations: 184 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.2362, allocations: 486.6 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007209/0.237, allocations: 0.6417 MB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.2393, allocations: 2.296 MB / 446.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2393, allocations: 3.938 kB / 446.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2393, allocations: 0 / 446.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.2393, allocations: 0 / 446.2 MB, free: 8.844 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.003898/0.2432, allocations: 2.064 MB / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2432, allocations: 8.031 kB / 448.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.244, allocations: 215.9 kB / 448.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2458, allocations: 0.971 MB / 449.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.2459, allocations: 78.44 kB / 449.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.2461, allocations: 108.1 kB / 449.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.2489, allocations: 1.586 MB / 451.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.2489, allocations: 4 kB / 451.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.249, allocations: 40 kB / 451.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/0.2491, allocations: 46.03 kB / 451.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.2517, allocations: 1.429 MB / 452.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/0.2589, allocations: 4.319 MB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.2605, allocations: 0.9305 MB / 458 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.2618, allocations: 0.6806 MB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.2619, allocations: 8.656 kB / 458.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.2629, allocations: 0.6452 MB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.2629, allocations: 0 / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006133/0.2691, allocations: 2.352 MB / 461.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.2691, allocations: 89.77 kB / 461.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2704, allocations: 0.9267 MB / 462.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.2705, allocations: 41.7 kB / 462.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.271, allocations: 0.5474 MB / 463.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2712, allocations: 241.9 kB / 463.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.2714, allocations: 138.6 kB / 463.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2716, allocations: 330 kB / 463.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.2723, allocations: 417.7 kB / 464.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.2732, allocations: 0.5815 MB / 464.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2747, allocations: 0.9444 MB / 465.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2747, allocations: 4 kB / 465.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002253/0.277, allocations: 1.287 MB / 467.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.277, allocations: 8 kB / 467.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.277, allocations: 4 kB / 467.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.278, allocations: 395 kB / 467.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.2785, allocations: 115.8 kB / 467.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.2844, allocations: 4.314 MB / 472 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.2849, allocations: 87.58 kB / 472.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.285, allocations: 27.98 kB / 472.1 MB, free: 14.27 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.0007192/0.2857, allocations: 0.4914 MB / 472.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.2859, allocations: 103.3 kB / 472.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.2861, allocations: 120.5 kB / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2861, allocations: 8 kB / 472.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2861, allocations: 4 kB / 472.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2861, allocations: 3.984 kB / 472.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.2901, allocations: 2.271 MB / 475.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2901, allocations: 4 kB / 475.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.2906, allocations: 79.88 kB / 475.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.2914, allocations: 389.1 kB / 475.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.2915, allocations: 23.97 kB / 475.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/0.2972, allocations: 4.281 MB / 479.9 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2972, allocations: 7.938 kB / 479.9 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.3003, allocations: 1.937 MB / 481.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.3008, allocations: 223.1 kB / 482 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.301, allocations: 15.98 kB / 482 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.3014, allocations: 47.95 kB / 482.1 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.3016, allocations: 80.5 kB / 482.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.3017, allocations: 16 kB / 482.2 MB, free: 4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009315/0.3026, allocations: 0.6707 MB / 482.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3026, allocations: 0 / 482.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009898/0.3036, allocations: 355.1 kB / 483.2 MB, free: 2.988 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.0001942/0.3038, allocations: 129.3 kB / 483.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3061, allocations: 1.246 MB / 484.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3061, allocations: 0 / 484.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3074, allocations: 0.7918 MB / 485.4 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3084, allocations: 235 kB / 485.6 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.3133, allocations: 2.688 MB / 488.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/0.3143, allocations: 0.7986 MB / 489.1 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.3147, allocations: 171.2 kB / 489.2 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3149, allocations: 63.38 kB / 489.3 MB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3149, allocations: 0 / 489.3 MB, free: 12.77 MB / 398.1 MB Notification: Performance of Templates: time 0.03148/0.3464, allocations: 19.07 MB / 0.4965 GB, free: 10.03 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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.076716384006431]