Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2414, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005088/0.2465, allocations: 3.698 MB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2487, allocations: 1.091 MB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.2492, allocations: 15.94 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.2495, allocations: 107.1 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008649/0.2505, allocations: 226.6 kB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2509, allocations: 159.7 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.252, allocations: 0.9612 MB / 416.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007663/0.2527, allocations: 0.6082 MB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.2533, allocations: 418.5 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.2541, allocations: 0.498 MB / 417.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2543, allocations: 104 kB / 417.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.2546, allocations: 104 kB / 417.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2548, allocations: 279.2 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.2554, allocations: 485.7 kB / 418.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2565, allocations: 1.298 MB / 420 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.2566, allocations: 4 kB / 420 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2566, allocations: 0 / 420 MB, free: 7.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.099e-05/0.2566, allocations: 0 / 420 MB, free: 7.516 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002422/0.259, allocations: 1.177 MB / 421.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2591, allocations: 16.03 kB / 421.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.2595, allocations: 119.8 kB / 421.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.2605, allocations: 0.6607 MB / 421.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.2605, allocations: 49.25 kB / 422 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2606, allocations: 67.94 kB / 422 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.2621, allocations: 0.9228 MB / 423 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2621, allocations: 7.984 kB / 423 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.2622, allocations: 24 kB / 423 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.2623, allocations: 33.31 kB / 423 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2635, allocations: 0.7897 MB / 423.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.2673, allocations: 2.787 MB / 426.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/0.2683, allocations: 0.7448 MB / 427.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.2689, allocations: 337.3 kB / 427.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2689, allocations: 4.328 kB / 427.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.2695, allocations: 389.8 kB / 428.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.2695, allocations: 0 / 428.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002731/0.2723, allocations: 1.229 MB / 429.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.2723, allocations: 122.5 kB / 429.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.273, allocations: 0.5802 MB / 430 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.2731, allocations: 37.69 kB / 430 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2734, allocations: 363.9 kB / 430.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2735, allocations: 134.1 kB / 430.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.2736, allocations: 90.16 kB / 430.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2737, allocations: 370.8 kB / 431 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.2741, allocations: 225 kB / 431.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.2746, allocations: 353.8 kB / 431.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.2753, allocations: 0.566 MB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2754, allocations: 0 / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00124/0.2766, allocations: 0.7587 MB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2766, allocations: 6.188 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2767, allocations: 8 kB / 432.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.2772, allocations: 205.2 kB / 433.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2775, allocations: 71.89 kB / 433.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.2807, allocations: 3.043 MB / 436.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.2811, allocations: 47.58 kB / 436.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.2812, allocations: 20 kB / 436.3 MB, free: 6.555 MB / 350.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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004946/0.2817, allocations: 329.5 kB / 436.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2818, allocations: 59.48 kB / 436.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.282, allocations: 69.42 kB / 436.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.282, allocations: 8 kB / 436.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2821, allocations: 7.984 kB / 436.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2821, allocations: 3.938 kB / 436.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.2848, allocations: 1.745 MB / 438.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2849, allocations: 0 / 438.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.2851, allocations: 51.91 kB / 438.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.2856, allocations: 196.7 kB / 438.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.2856, allocations: 8 kB / 438.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.2885, allocations: 2.915 MB / 441.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2886, allocations: 3.938 kB / 441.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.2904, allocations: 1.139 MB / 442.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.2907, allocations: 196.3 kB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2908, allocations: 8 kB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.2911, allocations: 23.97 kB / 443 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2912, allocations: 47.72 kB / 443 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2913, allocations: 19.98 kB / 443.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005253/0.2918, allocations: 430.8 kB / 443.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.2918, allocations: 0 / 443.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.2926, allocations: 211.2 kB / 443.7 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.0001755/0.2928, allocations: 123.6 kB / 443.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.2941, allocations: 0.7327 MB / 444.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2941, allocations: 1 kB / 444.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.2948, allocations: 482.3 kB / 445 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.2956, allocations: 146.2 kB / 445.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.2983, allocations: 1.583 MB / 446.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.2989, allocations: 1.066 MB / 447.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2991, allocations: 39.44 kB / 447.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2991, allocations: 0 / 447.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Templates: time 0.0163/0.3154, allocations: 13.13 MB / 461 MB, free: 13.52 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches