Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.005332/0.005332, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 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.001435/0.001435, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 259 MB, free: 8.043 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-beta.om/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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003284/0.003284, allocations: 63.88 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.285, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005477/0.2905, allocations: 3.754 MB / 436.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.2928, allocations: 1.091 MB / 438 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.2931, allocations: 15.88 kB / 438.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.2934, allocations: 119.1 kB / 438.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.2942, allocations: 234.7 kB / 438.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.2945, allocations: 167.6 kB / 438.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.2956, allocations: 0.969 MB / 439.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.2961, allocations: 351.5 kB / 439.9 MB, free: 232 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.2967, allocations: 426.5 kB / 440.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000709/0.2974, allocations: 0.4981 MB / 440.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2975, allocations: 100 kB / 440.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.2977, allocations: 116 kB / 441 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.298, allocations: 279.1 kB / 441.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.2985, allocations: 481.8 kB / 441.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2999, allocations: 1.305 MB / 443 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2999, allocations: 4 kB / 443.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2999, allocations: 0 / 443.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2999, allocations: 3.938 kB / 443.1 MB, free: 13.04 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002362/0.3023, allocations: 1.33 MB / 444.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3023, allocations: 8.031 kB / 444.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.3027, allocations: 124.3 kB / 444.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3038, allocations: 0.6009 MB / 445.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.3038, allocations: 49.25 kB / 445.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.304, allocations: 68 kB / 445.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.3056, allocations: 0.9189 MB / 446.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3056, allocations: 11.89 kB / 446.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.3057, allocations: 23.98 kB / 446.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.3057, allocations: 37.3 kB / 446.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.3071, allocations: 0.7975 MB / 447 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/0.3115, allocations: 2.729 MB / 449.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.3124, allocations: 496.8 kB / 450.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.313, allocations: 313.3 kB / 450.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.313, allocations: 4.328 kB / 450.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006718/0.3137, allocations: 389.8 kB / 450.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.3137, allocations: 4 kB / 450.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00279/0.3165, allocations: 1.111 MB / 452 MB, free: 3.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.3166, allocations: 114.6 kB / 452.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.3174, allocations: 0.584 MB / 452.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.3174, allocations: 37.7 kB / 452.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.3178, allocations: 372.5 kB / 453.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3179, allocations: 142.8 kB / 453.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.318, allocations: 94.12 kB / 453.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3182, allocations: 374.7 kB / 453.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.3187, allocations: 216.8 kB / 453.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.3192, allocations: 357.1 kB / 454.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.3201, allocations: 0.5666 MB / 454.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3201, allocations: 4 kB / 454.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001354/0.3214, allocations: 0.7439 MB / 455.6 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3214, allocations: 14.69 kB / 455.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3215, allocations: 4 kB / 455.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.322, allocations: 212.1 kB / 455.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.3223, allocations: 75.83 kB / 455.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.3259, allocations: 2.832 MB / 458.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.3264, allocations: 51.72 kB / 458.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.3264, allocations: 20 kB / 458.8 MB, free: 12.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005624/0.327, allocations: 335.5 kB / 459.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3271, allocations: 63.66 kB / 459.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.3272, allocations: 65.44 kB / 459.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.3273, allocations: 4 kB / 459.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3273, allocations: 7.938 kB / 459.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3273, allocations: 7.984 kB / 459.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.3298, allocations: 1.599 MB / 460.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3298, allocations: 4 kB / 460.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3301, allocations: 39.97 kB / 460.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.3305, allocations: 200.7 kB / 461.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.3306, allocations: 12 kB / 461.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.3339, allocations: 2.824 MB / 464 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3339, allocations: 0 / 464 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3357, allocations: 1.1 MB / 465.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.336, allocations: 123.5 kB / 465.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.3361, allocations: 12 kB / 465.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3364, allocations: 23.97 kB / 465.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3365, allocations: 51.64 kB / 465.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.3365, allocations: 15.98 kB / 465.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005805/0.3371, allocations: 430.8 kB / 465.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3371, allocations: 3.938 kB / 465.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.3378, allocations: 207.5 kB / 465.9 MB, free: 5.445 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.338, allocations: 120.4 kB / 466 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.3393, allocations: 0.7011 MB / 466.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3394, allocations: 4 kB / 466.7 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.3401, allocations: 463.5 kB / 467.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.3408, allocations: 154.1 kB / 467.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3434, allocations: 1.5 MB / 468.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.3442, allocations: 1.074 MB / 469.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3443, allocations: 43.42 kB / 469.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3443, allocations: 0 / 469.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Templates: time 0.019/0.3633, allocations: 13.14 MB / 483.1 MB, free: 4.211 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 8.713695979909971]