Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 107.6 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009199/0.0009199, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2466, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005528/0.2522, allocations: 4.565 MB / 405.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2541, allocations: 1.207 MB / 406.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.2543, allocations: 23.88 kB / 406.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.2546, allocations: 170.7 kB / 406.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007965/0.2555, allocations: 358 kB / 407.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.2558, allocations: 199.7 kB / 407.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2572, allocations: 1.607 MB / 408.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2583, allocations: 1.1 MB / 410 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.259, allocations: 0.6891 MB / 410.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009228/0.2599, allocations: 0.8407 MB / 411.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.2601, allocations: 176 kB / 411.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.2604, allocations: 183.9 kB / 411.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.2608, allocations: 474.7 kB / 412.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.2615, allocations: 0.7971 MB / 413.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.2632, allocations: 2.239 MB / 415.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2632, allocations: 0 / 415.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2632, allocations: 4 kB / 415.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2632, allocations: 0 / 415.3 MB, free: 10.19 MB / 334.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.002852/0.2661, allocations: 1.767 MB / 417.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2661, allocations: 8.031 kB / 417.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.2663, allocations: 151.2 kB / 417.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.2677, allocations: 0.9812 MB / 418.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.2677, allocations: 82.42 kB / 418.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.2679, allocations: 112.1 kB / 418.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.2703, allocations: 1.553 MB / 420 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2703, allocations: 4 kB / 420 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.2704, allocations: 40 kB / 420 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.2705, allocations: 50.03 kB / 420.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.2728, allocations: 1.429 MB / 421.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.2792, allocations: 4.898 MB / 426.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2809, allocations: 1.442 MB / 427.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.2821, allocations: 0.735 MB / 428.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.2822, allocations: 12.55 kB / 428.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.2832, allocations: 0.6161 MB / 429.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/0.2832, allocations: 0 / 429.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005796/0.289, allocations: 2.435 MB / 431.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2891, allocations: 89.77 kB / 431.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.2902, allocations: 0.9383 MB / 432.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.2903, allocations: 37.7 kB / 432.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.2907, allocations: 0.5269 MB / 433.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.2909, allocations: 228.7 kB / 433.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.2911, allocations: 134.6 kB / 433.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2912, allocations: 334 kB / 433.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/0.2919, allocations: 417.7 kB / 434.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007892/0.2927, allocations: 0.5524 MB / 434.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2941, allocations: 0.9426 MB / 435.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2942, allocations: 7.938 kB / 435.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002123/0.2963, allocations: 1.288 MB / 437.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2963, allocations: 15.88 kB / 437.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.2963, allocations: 4 kB / 437.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/0.2973, allocations: 403.8 kB / 437.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.2978, allocations: 111.9 kB / 437.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.3032, allocations: 4.508 MB / 442.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.3037, allocations: 79.48 kB / 442.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.3038, allocations: 24 kB / 442.2 MB, free: 14.44 MB / 366.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.0007085/0.3045, allocations: 495.2 kB / 442.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3047, allocations: 94.81 kB / 442.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.305, allocations: 120.5 kB / 442.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.305, allocations: 8 kB / 442.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.305, allocations: 0 / 442.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.305, allocations: 3.984 kB / 443 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/0.3091, allocations: 2.59 MB / 445.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3091, allocations: 0 / 445.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.3095, allocations: 91.86 kB / 445.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008267/0.3104, allocations: 389 kB / 446 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.3104, allocations: 28.05 kB / 446 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/0.3159, allocations: 4.461 MB / 450.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3159, allocations: 0 / 450.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.319, allocations: 1.955 MB / 452.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.3195, allocations: 279.9 kB / 452.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3197, allocations: 16 kB / 452.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.3202, allocations: 39.95 kB / 452.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.3205, allocations: 84.47 kB / 452.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.3205, allocations: 24 kB / 452.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.3216, allocations: 0.6707 MB / 453.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3216, allocations: 0 / 453.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3226, allocations: 354.8 kB / 453.9 MB, free: 2.52 MB / 366.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.0002019/0.3228, allocations: 139.1 kB / 454 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.3252, allocations: 1.283 MB / 455.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3252, allocations: 0 / 455.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3266, allocations: 0.8072 MB / 456.1 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3278, allocations: 262.4 kB / 456.4 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.3333, allocations: 2.598 MB / 459 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.3347, allocations: 1.38 MB / 460.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.3352, allocations: 171.3 kB / 460.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3354, allocations: 63.42 kB / 460.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3354, allocations: 0 / 460.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Templates: time 0.02972/0.3652, allocations: 18.45 MB / 479 MB, free: 9.52 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches