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.00151/0.00151, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.1 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 60.19 kB / 307.1 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08764, allocations: 50.53 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005212/0.09288, allocations: 3.74 MB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.09492, allocations: 1.056 MB / 362.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.09534, allocations: 15.94 kB / 362.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.09567, allocations: 83.39 kB / 362.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.09651, allocations: 214.9 kB / 362.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.09692, allocations: 135.8 kB / 362.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.09803, allocations: 0.9574 MB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.09879, allocations: 0.6082 MB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006024/0.0994, allocations: 418.5 kB / 364.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007725/0.1002, allocations: 0.5058 MB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.1004, allocations: 104 kB / 365.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.1007, allocations: 104 kB / 365.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.101, allocations: 279.2 kB / 365.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.1016, allocations: 481.8 kB / 366.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1026, allocations: 1.064 MB / 367.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1026, allocations: 3.938 kB / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1027, allocations: 0 / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.1027, allocations: 0 / 367.4 MB, free: 4.367 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.002466/0.1052, allocations: 1.177 MB / 368.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1052, allocations: 15.97 kB / 368.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.1057, allocations: 123.8 kB / 368.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.1067, allocations: 0.6373 MB / 369.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.1067, allocations: 57.23 kB / 369.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1068, allocations: 64 kB / 369.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1084, allocations: 0.915 MB / 370.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.1085, allocations: 11.84 kB / 370.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.1085, allocations: 24 kB / 370.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.1086, allocations: 33.3 kB / 370.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.11, allocations: 0.7936 MB / 371.2 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1708/0.2808, allocations: 2.804 MB / 374 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.282, allocations: 0.7514 MB / 374.8 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.2826, allocations: 343.5 kB / 375.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.2827, allocations: 8.078 kB / 375.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/0.2834, allocations: 377.7 kB / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.836e-06/0.2834, allocations: 0.7812 kB / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002882/0.2863, allocations: 1.234 MB / 376.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.2864, allocations: 109 kB / 376.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.2871, allocations: 0.5832 MB / 377.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.2872, allocations: 37.16 kB / 377.5 MB, free: 17.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.2874, allocations: 363.7 kB / 377.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.2875, allocations: 138.9 kB / 378 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2877, allocations: 96.03 kB / 378 MB, free: 16.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.2878, allocations: 363.1 kB / 378.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.2881, allocations: 223 kB / 378.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.2886, allocations: 359 kB / 379 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007877/0.2894, allocations: 0.5642 MB / 379.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2894, allocations: 1.188 kB / 379.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001243/0.2906, allocations: 0.7553 MB / 380.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2906, allocations: 10.19 kB / 380.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2907, allocations: 4.188 kB / 380.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.2912, allocations: 210.7 kB / 380.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.2915, allocations: 72.8 kB / 380.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.2945, allocations: 3.061 MB / 383.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.2949, allocations: 48.59 kB / 383.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.2949, allocations: 14.94 kB / 383.7 MB, free: 13.2 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.0005111/0.2955, allocations: 328.7 kB / 384 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.2955, allocations: 59.22 kB / 384.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2957, allocations: 71.73 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2957, allocations: 12.66 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2957, allocations: 2.172 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2957, allocations: 2.109 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.2983, allocations: 1.752 MB / 385.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2983, allocations: 0 / 385.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.2986, allocations: 45.88 kB / 386 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.299, allocations: 196.2 kB / 386.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.299, allocations: 12.67 kB / 386.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.3016, allocations: 2.912 MB / 389.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3017, allocations: 3.562 kB / 389.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3034, allocations: 1.146 MB / 390.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.3036, allocations: 192.9 kB / 390.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.3037, allocations: 11.56 kB / 390.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.304, allocations: 28.53 kB / 390.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3041, allocations: 42.72 kB / 390.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3042, allocations: 21.17 kB / 390.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004529/0.3046, allocations: 427.5 kB / 390.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3046, allocations: 0 / 390.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.3054, allocations: 207 kB / 391.1 MB, free: 8.781 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.0001436/0.3055, allocations: 127.5 kB / 391.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3068, allocations: 0.7826 MB / 392.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3068, allocations: 4.062 kB / 392.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.3075, allocations: 480.2 kB / 392.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.3082, allocations: 153.9 kB / 392.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3107, allocations: 1.892 MB / 394.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3112, allocations: 1.067 MB / 395.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.3113, allocations: 41.91 kB / 395.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3113, allocations: 1.5 kB / 395.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of Templates: time 0.01536/0.3267, allocations: 13.04 MB / 408.7 MB, free: 11.14 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.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