Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 64.38 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09442, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005627/0.1001, allocations: 4.586 MB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1021, allocations: 1.312 MB / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.1024, allocations: 23.88 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1027, allocations: 166.6 kB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007814/0.1035, allocations: 354 kB / 365.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1039, allocations: 211.7 kB / 365.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1053, allocations: 1.63 MB / 367.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.1064, allocations: 1.11 MB / 368.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.1071, allocations: 0.6891 MB / 369 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.1081, allocations: 0.8561 MB / 369.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.1083, allocations: 176 kB / 370 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.1085, allocations: 180 kB / 370.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.1089, allocations: 482.6 kB / 370.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.1096, allocations: 0.7972 MB / 371.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1578/0.2674, allocations: 2.276 MB / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2675, allocations: 0 / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2675, allocations: 0 / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.123e-05/0.2676, allocations: 0.875 kB / 373.7 MB, free: 13.65 MB / 302.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.003372/0.2709, allocations: 1.785 MB / 375.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.271, allocations: 9.344 kB / 375.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007704/0.2718, allocations: 210.4 kB / 375.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.2736, allocations: 1.032 MB / 376.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.2737, allocations: 77.38 kB / 376.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.2739, allocations: 105.1 kB / 376.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.2765, allocations: 1.559 MB / 378.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.2765, allocations: 5.078 kB / 378.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.2766, allocations: 44.41 kB / 378.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.2767, allocations: 43.45 kB / 378.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.2789, allocations: 1.433 MB / 380 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.2853, allocations: 4.887 MB / 384.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2867, allocations: 1.469 MB / 386.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.2879, allocations: 0.7373 MB / 387.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.2879, allocations: 12.44 kB / 387.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000894/0.2888, allocations: 0.6113 MB / 387.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2888, allocations: 0 / 387.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005274/0.2941, allocations: 2.439 MB / 390.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2942, allocations: 90.98 kB / 390.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.2953, allocations: 0.9644 MB / 391.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.2954, allocations: 40.48 kB / 391.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.2958, allocations: 0.5328 MB / 391.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2959, allocations: 229.3 kB / 392 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.2961, allocations: 134.5 kB / 392.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.2962, allocations: 334 kB / 392.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.2968, allocations: 418.5 kB / 392.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.2975, allocations: 0.551 MB / 393.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.2987, allocations: 0.9431 MB / 394.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2987, allocations: 1.281 kB / 394.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001928/0.3007, allocations: 1.298 MB / 395.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3007, allocations: 6.906 kB / 395.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3007, allocations: 3.969 kB / 395.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.3015, allocations: 398.8 kB / 396.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.302, allocations: 113.6 kB / 396.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.3063, allocations: 4.512 MB / 400.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.3069, allocations: 83.7 kB / 400.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.307, allocations: 21.84 kB / 400.8 MB, free: 15.27 MB / 318.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_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: 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.0006804/0.3077, allocations: 0.4985 MB / 401.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3078, allocations: 98.28 kB / 401.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3081, allocations: 121.4 kB / 401.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3081, allocations: 6.406 kB / 401.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3081, allocations: 3.938 kB / 401.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3081, allocations: 3.984 kB / 401.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.312, allocations: 2.591 MB / 404.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.312, allocations: 1.75 kB / 404.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.3125, allocations: 93.56 kB / 404.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/0.3132, allocations: 382.8 kB / 404.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.3133, allocations: 12 kB / 404.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.3182, allocations: 4.478 MB / 409.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3183, allocations: 2.734 kB / 409.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.3211, allocations: 1.963 MB / 411.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.3217, allocations: 291.7 kB / 411.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3218, allocations: 12 kB / 411.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.3223, allocations: 39.95 kB / 411.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.3225, allocations: 84.53 kB / 411.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.3226, allocations: 16 kB / 411.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009524/0.3236, allocations: 0.6903 MB / 412.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3236, allocations: 0 / 412.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009961/0.3246, allocations: 347 kB / 412.5 MB, free: 4.234 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001914/0.3248, allocations: 132.8 kB / 412.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3269, allocations: 1.287 MB / 413.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3269, allocations: 2.625 kB / 413.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.3282, allocations: 0.8002 MB / 414.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3293, allocations: 263.2 kB / 415 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.3353, allocations: 2.631 MB / 417.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.3366, allocations: 1.399 MB / 419 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.3372, allocations: 171.4 kB / 419.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3374, allocations: 58.16 kB / 419.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3374, allocations: 0 / 419.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.0303/0.3677, allocations: 18.34 MB / 437.6 MB, free: 11.37 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches