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.001116/0.001117, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 60.16 kB / 307 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08859, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005437/0.09405, allocations: 4.578 MB / 362.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.09613, allocations: 1.312 MB / 363.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.0964, allocations: 27.88 kB / 363.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.09673, allocations: 162.6 kB / 363.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.0975, allocations: 358 kB / 363.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.09787, allocations: 211.7 kB / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.09921, allocations: 1.615 MB / 365.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1003, allocations: 1.11 MB / 366.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006764/0.101, allocations: 0.6891 MB / 367.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.1019, allocations: 0.86 MB / 368.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.1022, allocations: 176 kB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1025, allocations: 180 kB / 368.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.1029, allocations: 482.7 kB / 369.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007174/0.1036, allocations: 0.801 MB / 370 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1622/0.2658, allocations: 2.242 MB / 372.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2659, allocations: 0.625 kB / 372.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2659, allocations: 1.125 kB / 372.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.212e-05/0.2659, allocations: 0 / 372.3 MB, free: 13.11 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.003406/0.2694, allocations: 1.788 MB / 374 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2694, allocations: 10.25 kB / 374.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.2702, allocations: 213.4 kB / 374.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.2716, allocations: 0.9991 MB / 375.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.2717, allocations: 77 kB / 375.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.2719, allocations: 113.1 kB / 375.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.2747, allocations: 1.552 MB / 377 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.2747, allocations: 9.172 kB / 377 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.2748, allocations: 42.45 kB / 377.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.2749, allocations: 45.36 kB / 377.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2775, allocations: 1.435 MB / 378.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00701/0.2845, allocations: 4.931 MB / 383.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.286, allocations: 1.46 MB / 384.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.2871, allocations: 0.7317 MB / 385.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.2872, allocations: 10.36 kB / 385.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008906/0.2881, allocations: 0.6144 MB / 386.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.2881, allocations: 0 / 386.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005634/0.2937, allocations: 2.439 MB / 388.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2938, allocations: 86.67 kB / 388.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.2951, allocations: 0.9648 MB / 389.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.2951, allocations: 45.19 kB / 389.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.2955, allocations: 0.5311 MB / 390.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2956, allocations: 234.2 kB / 390.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2959, allocations: 135.6 kB / 390.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.2959, allocations: 333.8 kB / 391 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/0.2966, allocations: 413.4 kB / 391.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.2972, allocations: 0.5497 MB / 392 MB, free: 4.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2985, allocations: 0.9516 MB / 392.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2985, allocations: 1.375 kB / 392.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002046/0.3006, allocations: 1.292 MB / 394.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3006, allocations: 7.188 kB / 394.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3006, allocations: 7.328 kB / 394.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/0.3015, allocations: 402.9 kB / 394.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.302, allocations: 111.5 kB / 394.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/0.3068, allocations: 4.517 MB / 399.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.3077, allocations: 82.61 kB / 399.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3077, allocations: 28.91 kB / 399.4 MB, free: 15.13 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.000778/0.3085, allocations: 0.4889 MB / 399.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3087, allocations: 98.16 kB / 400 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3089, allocations: 123.2 kB / 400.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3089, allocations: 5.75 kB / 400.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3089, allocations: 0 / 400.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3089, allocations: 7.984 kB / 400.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/0.3133, allocations: 2.597 MB / 402.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3133, allocations: 3.375 kB / 402.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.3137, allocations: 85.59 kB / 402.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009015/0.3146, allocations: 389 kB / 403.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.3147, allocations: 12 kB / 403.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.3203, allocations: 4.48 MB / 407.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3204, allocations: 7.984 kB / 407.7 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.3235, allocations: 1.956 MB / 409.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.3241, allocations: 291.7 kB / 409.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.3244, allocations: 15.94 kB / 409.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.325, allocations: 47.94 kB / 410 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.3252, allocations: 72.55 kB / 410 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.3252, allocations: 23.98 kB / 410.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0011/0.3263, allocations: 0.6903 MB / 410.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3264, allocations: 0 / 410.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001207/0.3276, allocations: 339 kB / 411.1 MB, free: 4.281 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.0002301/0.3278, allocations: 141 kB / 411.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.3306, allocations: 1.437 MB / 412.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3306, allocations: 2.625 kB / 412.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.3319, allocations: 0.8024 MB / 413.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.3332, allocations: 267.8 kB / 413.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.3388, allocations: 2.659 MB / 416.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.34, allocations: 1.388 MB / 417.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.3406, allocations: 179.4 kB / 417.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.3408, allocations: 61.98 kB / 418 MB, free: 13.32 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3409, allocations: 0 / 418 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Templates: time 0.03646/0.3773, allocations: 18.32 MB / 436.3 MB, free: 11.25 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/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