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.001075/0.001075, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 61.31 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09899, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004927/0.104, allocations: 3.692 MB / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1057, allocations: 1.079 MB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.106, allocations: 23.88 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1062, allocations: 103.1 kB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.1069, allocations: 226.6 kB / 364 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1072, allocations: 155.7 kB / 364.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.1081, allocations: 0.9728 MB / 365.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.1088, allocations: 0.6043 MB / 365.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.1093, allocations: 418.6 kB / 366.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.1099, allocations: 0.498 MB / 366.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.11, allocations: 100 kB / 366.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1102, allocations: 104 kB / 366.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1104, allocations: 275.2 kB / 367.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004385/0.1109, allocations: 485.7 kB / 367.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1119, allocations: 1.308 MB / 368.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1119, allocations: 0 / 368.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1119, allocations: 0 / 368.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1119, allocations: 0 / 368.9 MB, free: 3.234 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002007/0.114, allocations: 1.181 MB / 370.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.114, allocations: 12.02 kB / 370.1 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.1144, allocations: 119.8 kB / 370.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1155, allocations: 0.6607 MB / 370.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.1155, allocations: 53.25 kB / 370.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1156, allocations: 68 kB / 371 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1171, allocations: 0.915 MB / 371.9 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1171, allocations: 7.906 kB / 371.9 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.1172, allocations: 24 kB / 372 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.1173, allocations: 33.3 kB / 372 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1453/0.2625, allocations: 0.789 MB / 372.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.2663, allocations: 2.783 MB / 375.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.2672, allocations: 0.7485 MB / 376.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.2677, allocations: 342.8 kB / 376.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.2678, allocations: 4.203 kB / 376.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.2683, allocations: 383.6 kB / 377 MB, free: 17.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.2683, allocations: 0 / 377 MB, free: 17.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002657/0.271, allocations: 1.236 MB / 378.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.271, allocations: 116.1 kB / 378.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.2717, allocations: 0.5811 MB / 379 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2718, allocations: 36.66 kB / 379 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.272, allocations: 368.6 kB / 379.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.2721, allocations: 131.9 kB / 379.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2722, allocations: 95.7 kB / 379.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.2723, allocations: 370.9 kB / 379.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.2727, allocations: 221.3 kB / 380.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.2731, allocations: 367.3 kB / 380.5 MB, free: 16.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.2738, allocations: 0.5644 MB / 381.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2739, allocations: 1.438 kB / 381.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001144/0.275, allocations: 0.7514 MB / 381.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.275, allocations: 10.5 kB / 381.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2751, allocations: 12.94 kB / 381.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.2755, allocations: 203.1 kB / 382 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.2759, allocations: 68.5 kB / 382.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.2789, allocations: 3.038 MB / 385.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2792, allocations: 49.33 kB / 385.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2793, allocations: 16.11 kB / 385.2 MB, free: 13.07 MB / 302.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.0003897/0.2797, allocations: 327 kB / 385.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.2798, allocations: 60.77 kB / 385.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.2799, allocations: 74.92 kB / 385.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2799, allocations: 5.141 kB / 385.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2799, allocations: 0 / 385.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2799, allocations: 3.203 kB / 385.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.2829, allocations: 1.753 MB / 387.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2829, allocations: 1.156 kB / 387.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2832, allocations: 43.25 kB / 387.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.2836, allocations: 201.9 kB / 387.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.2837, allocations: 16.08 kB / 387.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.2862, allocations: 2.914 MB / 390.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2862, allocations: 0 / 390.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.288, allocations: 1.142 MB / 391.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.2883, allocations: 193 kB / 391.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.2884, allocations: 6.875 kB / 391.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.2887, allocations: 24.53 kB / 392 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.2888, allocations: 51.19 kB / 392 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.2888, allocations: 18.08 kB / 392 MB, free: 8.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005015/0.2893, allocations: 423 kB / 392.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2893, allocations: 0 / 392.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008048/0.2902, allocations: 218.9 kB / 392.7 MB, free: 8.402 MB / 302.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.0001781/0.2903, allocations: 118.9 kB / 392.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2916, allocations: 0.73 MB / 393.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.2916, allocations: 3.906 kB / 393.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.2922, allocations: 473.4 kB / 394 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.2929, allocations: 161.1 kB / 394.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2956, allocations: 1.559 MB / 395.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.296, allocations: 1.073 MB / 396.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.2963, allocations: 99.8 kB / 396.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.2964, allocations: 44.8 kB / 396.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2964, allocations: 0 / 396.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of Templates: time 0.01413/0.3105, allocations: 10.13 MB / 407 MB, free: 13.27 MB / 318.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 -s gbode -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