Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001454/0.001454, allocations: 99.14 kB / 21.93 MB, free: 5.207 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.001505/0.001505, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2899, allocations: 49.16 MB / 397.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005743/0.2956, allocations: 4.104 MB / 401.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.2988, allocations: 1.235 MB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.2992, allocations: 29.38 kB / 403 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.2997, allocations: 169.3 kB / 403.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3008, allocations: 365.1 kB / 403.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.3012, allocations: 199.5 kB / 403.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.303, allocations: 1.611 MB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.3038, allocations: 0.5068 MB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.3048, allocations: 0.6976 MB / 406.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.3062, allocations: 0.866 MB / 407.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.3065, allocations: 176 kB / 407.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.3068, allocations: 173.2 kB / 407.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.3072, allocations: 483.7 kB / 408.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.3079, allocations: 0.6345 MB / 408.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.3101, allocations: 2.258 MB / 411.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3101, allocations: 0 / 411.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3101, allocations: 0 / 411.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.3101, allocations: 5.125 kB / 411.1 MB, free: 1.812 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003958/0.3141, allocations: 2.018 MB / 413.1 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3141, allocations: 13.14 kB / 413.1 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3144, allocations: 159 kB / 413.3 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3163, allocations: 0.8884 MB / 414.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.3163, allocations: 79.3 kB / 414.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.3165, allocations: 104.9 kB / 414.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.3196, allocations: 1.567 MB / 415.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.3196, allocations: 1.062 kB / 415.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.3197, allocations: 50 kB / 416 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/0.3198, allocations: 40.59 kB / 416 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.3226, allocations: 1.43 MB / 417.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008765/0.3314, allocations: 4.298 MB / 421.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3331, allocations: 0.9396 MB / 422.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.3344, allocations: 0.6806 MB / 423.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.3345, allocations: 12.66 kB / 423.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.3357, allocations: 0.6335 MB / 424 MB, free: 8.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.3357, allocations: 0 / 424 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.0064/0.3421, allocations: 2.364 MB / 426.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.3422, allocations: 85.77 kB / 426.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3438, allocations: 0.9069 MB / 427.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.3439, allocations: 41.7 kB / 427.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.3446, allocations: 0.5358 MB / 427.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.3449, allocations: 242 kB / 428.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.3451, allocations: 134.6 kB / 428.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.3453, allocations: 334 kB / 428.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.3461, allocations: 409.7 kB / 429 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.3471, allocations: 0.5853 MB / 429.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3486, allocations: 0.9405 MB / 430.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3486, allocations: 0 / 430.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002462/0.3511, allocations: 1.282 MB / 431.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.3511, allocations: 4.469 kB / 431.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3511, allocations: 4 kB / 431.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.3521, allocations: 399.4 kB / 432.2 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.3527, allocations: 119.8 kB / 432.4 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006389/0.359, allocations: 4.325 MB / 436.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/0.36, allocations: 75.69 kB / 436.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.3601, allocations: 24 kB / 436.8 MB, free: 11.48 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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.001173/0.3612, allocations: 487.3 kB / 437.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.3615, allocations: 99.39 kB / 437.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3618, allocations: 120.2 kB / 437.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3618, allocations: 11.94 kB / 437.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3618, allocations: 0 / 437.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3618, allocations: 7.922 kB / 437.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.3663, allocations: 2.267 MB / 439.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3664, allocations: 0 / 439.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.3668, allocations: 91.86 kB / 439.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000873/0.3677, allocations: 377.4 kB / 440.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.3678, allocations: 27.92 kB / 440.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006234/0.374, allocations: 4.286 MB / 444.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.374, allocations: 3.938 kB / 444.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.3775, allocations: 1.937 MB / 446.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/0.3784, allocations: 211.3 kB / 446.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3786, allocations: 15.94 kB / 446.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.3791, allocations: 43.94 kB / 446.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.3794, allocations: 84.45 kB / 446.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.3794, allocations: 27.92 kB / 446.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.3805, allocations: 0.6473 MB / 447.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3805, allocations: 0 / 447.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3817, allocations: 355.1 kB / 447.8 MB, free: 252 kB / 350.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002134/0.3819, allocations: 115.6 kB / 447.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.3845, allocations: 1.25 MB / 449.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3845, allocations: 3.984 kB / 449.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3859, allocations: 0.7716 MB / 450 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3875, allocations: 231.2 kB / 450.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.3931, allocations: 2.674 MB / 452.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009835/0.394, allocations: 0.7601 MB / 453.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.3944, allocations: 59.42 kB / 453.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3944, allocations: 0 / 453.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.03511/0.4295, allocations: 22.27 MB / 476 MB, free: 3.961 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.461842870805413]