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.001644/0.001644, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.001983/0.001983, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.574/1.574, allocations: 207.6 MB / 236 MB, free: 9.977 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.001764/0.001764, allocations: 59.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2713, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005605/0.2769, allocations: 4.541 MB / 402.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2794, allocations: 1.295 MB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.2797, allocations: 29.62 kB / 403.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.2801, allocations: 169 kB / 403.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.2812, allocations: 361.9 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2816, allocations: 205 kB / 404.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.2832, allocations: 1.62 MB / 405.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.2839, allocations: 0.5218 MB / 406.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009887/0.2849, allocations: 0.6841 MB / 407 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.2863, allocations: 0.8694 MB / 407.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.2866, allocations: 179.6 kB / 408.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.2869, allocations: 173.2 kB / 408.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.2873, allocations: 483.2 kB / 408.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007856/0.288, allocations: 0.7786 MB / 409.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.2904, allocations: 2.251 MB / 411.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2904, allocations: 0 / 411.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2904, allocations: 1.156 kB / 411.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.2904, allocations: 0 / 411.8 MB, free: 1.047 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.003575/0.294, allocations: 2.018 MB / 413.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.294, allocations: 13.67 kB / 413.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.2943, allocations: 158 kB / 413.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.296, allocations: 0.8802 MB / 414.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.296, allocations: 80.03 kB / 414.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.2962, allocations: 116.4 kB / 415 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.2989, allocations: 1.539 MB / 416.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.2989, allocations: 1.344 kB / 416.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.299, allocations: 50.12 kB / 416.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.2991, allocations: 44.19 kB / 416.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.3016, allocations: 1.425 MB / 418.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007693/0.3093, allocations: 4.802 MB / 422.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3108, allocations: 0.9505 MB / 423.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.3121, allocations: 0.6807 MB / 424.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.3121, allocations: 12.66 kB / 424.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.3132, allocations: 0.6162 MB / 425.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.3132, allocations: 4 kB / 425.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006014/0.3192, allocations: 2.364 MB / 427.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.3193, allocations: 85.77 kB / 427.6 MB, free: 5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3206, allocations: 0.9382 MB / 428.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.3207, allocations: 41.7 kB / 428.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.3212, allocations: 0.5318 MB / 429.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.3215, allocations: 246 kB / 429.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.3217, allocations: 130.6 kB / 429.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3219, allocations: 338 kB / 429.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.3226, allocations: 413.7 kB / 430.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.3234, allocations: 0.5447 MB / 430.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.3249, allocations: 0.9483 MB / 431.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3249, allocations: 0 / 431.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00227/0.3272, allocations: 1.291 MB / 433 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3272, allocations: 4 kB / 433 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3272, allocations: 4 kB / 433 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.3281, allocations: 407.3 kB / 433.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.3286, allocations: 111.9 kB / 433.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.3345, allocations: 4.398 MB / 437.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.3353, allocations: 83.58 kB / 438 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.3354, allocations: 27.98 kB / 438 MB, free: 10.31 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.0009235/0.3363, allocations: 499.2 kB / 438.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3364, allocations: 95.38 kB / 438.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.3367, allocations: 116.5 kB / 438.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3367, allocations: 11.98 kB / 438.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3367, allocations: 0 / 438.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3367, allocations: 0 / 438.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.3409, allocations: 2.555 MB / 441.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3409, allocations: 0 / 441.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.3413, allocations: 87.86 kB / 441.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.3421, allocations: 393.4 kB / 441.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.3422, allocations: 15.98 kB / 441.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.3476, allocations: 4.371 MB / 446.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3476, allocations: 0 / 446.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.3508, allocations: 1.944 MB / 448.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.3514, allocations: 211.5 kB / 448.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3515, allocations: 20 kB / 448.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.3519, allocations: 43.94 kB / 448.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.3521, allocations: 76.52 kB / 448.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.3522, allocations: 19.98 kB / 448.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.3532, allocations: 0.6747 MB / 449.1 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 449.1 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001362/0.3545, allocations: 347.2 kB / 449.4 MB, free: 14.66 MB / 366.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.000244/0.3548, allocations: 127.5 kB / 449.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.3572, allocations: 1.253 MB / 450.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.3572, allocations: 3.938 kB / 450.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3585, allocations: 0.7759 MB / 451.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3595, allocations: 251.1 kB / 451.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.3646, allocations: 2.666 MB / 454.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.3657, allocations: 1.358 MB / 455.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.366, allocations: 63.42 kB / 455.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.366, allocations: 0 / 455.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of Templates: time 0.03348/0.3994, allocations: 22.06 MB / 478 MB, free: 1.969 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.692752618109807]