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.001827/0.001827, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.67 kB / 307.2 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1024, allocations: 50.53 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005784/0.1082, allocations: 3.745 MB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1105, allocations: 1.064 MB / 362.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1108, allocations: 11.94 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1111, allocations: 83.41 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.1118, allocations: 214.9 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1122, allocations: 135.8 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1132, allocations: 0.9729 MB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.114, allocations: 0.6044 MB / 364.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.1146, allocations: 418.6 kB / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.1152, allocations: 0.5136 MB / 365.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1154, allocations: 100 kB / 365.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1156, allocations: 104 kB / 365.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.1159, allocations: 275.2 kB / 365.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.1164, allocations: 481.8 kB / 366.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1174, allocations: 1.06 MB / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1174, allocations: 0 / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1174, allocations: 0 / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1175, allocations: 4 kB / 367.4 MB, free: 4.562 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.002157/0.1196, allocations: 1.181 MB / 368.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1197, allocations: 8.031 kB / 368.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.1201, allocations: 119.8 kB / 368.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.1211, allocations: 0.645 MB / 369.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.1212, allocations: 49.25 kB / 369.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1213, allocations: 67.94 kB / 369.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.1229, allocations: 0.9189 MB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.1229, allocations: 7.891 kB / 370.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.123, allocations: 31.97 kB / 370.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.1231, allocations: 33.25 kB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1244, allocations: 0.7975 MB / 371.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/0.2811, allocations: 2.795 MB / 374.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.2819, allocations: 0.7465 MB / 374.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.2825, allocations: 355.5 kB / 375.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2825, allocations: 3.547 kB / 375.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006371/0.2831, allocations: 382.9 kB / 375.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.2831, allocations: 0 / 375.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002617/0.2858, allocations: 1.231 MB / 376.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.2858, allocations: 109.8 kB / 376.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.2865, allocations: 0.5828 MB / 377.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.2865, allocations: 37.22 kB / 377.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2867, allocations: 359.9 kB / 377.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.2868, allocations: 140.7 kB / 378 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2869, allocations: 94.98 kB / 378.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.287, allocations: 368 kB / 378.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.2874, allocations: 216.5 kB / 378.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2878, allocations: 359.9 kB / 379 MB, free: 16.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.2885, allocations: 0.5646 MB / 379.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2885, allocations: 9.25 kB / 379.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001147/0.2896, allocations: 0.7591 MB / 380.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2897, allocations: 6.969 kB / 380.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2897, allocations: 4.609 kB / 380.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/0.2902, allocations: 202.8 kB / 380.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.2905, allocations: 76.89 kB / 380.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.2933, allocations: 3.05 MB / 383.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.2937, allocations: 50.2 kB / 383.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2937, allocations: 19.12 kB / 383.8 MB, free: 13.5 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.0003721/0.2941, allocations: 322.8 kB / 384.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.2942, allocations: 60.31 kB / 384.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.2943, allocations: 71.53 kB / 384.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2943, allocations: 11.3 kB / 384.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2943, allocations: 5.219 kB / 384.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2943, allocations: 2.953 kB / 384.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.2966, allocations: 1.746 MB / 386 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2966, allocations: 1.125 kB / 386 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.2969, allocations: 50.28 kB / 386 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/0.2973, allocations: 197 kB / 386.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.2973, allocations: 11.16 kB / 386.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.2997, allocations: 2.919 MB / 389.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2998, allocations: 3.938 kB / 389.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3013, allocations: 1.142 MB / 390.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.3015, allocations: 192.8 kB / 390.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.3016, allocations: 12.44 kB / 390.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.3019, allocations: 26 kB / 390.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.302, allocations: 45.23 kB / 390.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.302, allocations: 15.12 kB / 390.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.3025, allocations: 434 kB / 391 MB, free: 9.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3025, allocations: 0 / 391 MB, free: 9.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.3032, allocations: 206.8 kB / 391.2 MB, free: 9.125 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.000134/0.3033, allocations: 120 kB / 391.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3045, allocations: 0.7909 MB / 392.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3046, allocations: 1.094 kB / 392.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.3052, allocations: 481.5 kB / 392.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.3058, allocations: 146.8 kB / 392.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.3082, allocations: 1.893 MB / 394.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3087, allocations: 1.068 MB / 395.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3088, allocations: 42.75 kB / 395.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3088, allocations: 0 / 395.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of Templates: time 0.01409/0.3229, allocations: 13.04 MB / 408.8 MB, free: 11.3 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 -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.1.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