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.001286/0.001286, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 60.2 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09537, allocations: 50.52 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005488/0.1009, allocations: 3.702 MB / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1035, allocations: 1.091 MB / 362.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.1041, allocations: 15.94 kB / 362.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1046, allocations: 103.1 kB / 362.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.1057, allocations: 226.6 kB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1061, allocations: 155.7 kB / 362.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1073, allocations: 0.9613 MB / 363.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008093/0.1082, allocations: 0.6083 MB / 364.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.109, allocations: 418.5 kB / 364.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1101, allocations: 0.4941 MB / 365.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.1105, allocations: 100 kB / 365.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.1109, allocations: 108 kB / 365.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.1113, allocations: 271.2 kB / 365.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000808/0.1122, allocations: 485.7 kB / 366.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1134, allocations: 1.285 MB / 367.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1135, allocations: 0 / 367.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1135, allocations: 3.938 kB / 367.5 MB, free: 4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1135, allocations: 4 kB / 367.5 MB, free: 3.996 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.00197/0.1155, allocations: 1.177 MB / 368.6 MB, free: 2.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1155, allocations: 12.03 kB / 368.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/0.1159, allocations: 119.8 kB / 368.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.1168, allocations: 0.6373 MB / 369.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.1169, allocations: 61.22 kB / 369.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.117, allocations: 67.98 kB / 369.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.1184, allocations: 0.9189 MB / 370.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1185, allocations: 7.844 kB / 370.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.1185, allocations: 28 kB / 370.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.1186, allocations: 29.31 kB / 370.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1198, allocations: 0.7897 MB / 371.3 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/0.2948, allocations: 2.803 MB / 374.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009412/0.2958, allocations: 0.748 MB / 374.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.2964, allocations: 343.7 kB / 375.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2965, allocations: 13.03 kB / 375.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/0.2971, allocations: 383.9 kB / 375.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.607e-06/0.2971, allocations: 3.938 kB / 375.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002822/0.3, allocations: 1.235 MB / 376.8 MB, free: 17.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3, allocations: 113.9 kB / 376.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.3008, allocations: 0.5828 MB / 377.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3008, allocations: 36.86 kB / 377.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.3011, allocations: 362.5 kB / 377.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.3012, allocations: 134.2 kB / 378 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3013, allocations: 95.92 kB / 378.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3014, allocations: 372 kB / 378.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.3018, allocations: 217 kB / 378.7 MB, free: 16.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.3022, allocations: 359.5 kB / 379.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.303, allocations: 0.5729 MB / 379.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.303, allocations: 1.344 kB / 379.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00129/0.3043, allocations: 0.7501 MB / 380.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3044, allocations: 11.83 kB / 380.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3044, allocations: 10.56 kB / 380.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.3049, allocations: 204 kB / 380.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.3052, allocations: 76.17 kB / 380.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.3083, allocations: 3.037 MB / 383.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.3087, allocations: 49.67 kB / 383.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.3087, allocations: 19.44 kB / 383.8 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.0004274/0.3092, allocations: 325.9 kB / 384.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3093, allocations: 59.19 kB / 384.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.3094, allocations: 70.78 kB / 384.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3094, allocations: 10.53 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3094, allocations: 1.188 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.3095, allocations: 3.734 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.3121, allocations: 1.757 MB / 386 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.3121, allocations: 5.125 kB / 386 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3123, allocations: 42.28 kB / 386 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.3128, allocations: 200.4 kB / 386.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.3128, allocations: 9.453 kB / 386.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.3158, allocations: 2.911 MB / 389.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3158, allocations: 3.625 kB / 389.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3177, allocations: 1.147 MB / 390.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.3179, allocations: 196.2 kB / 390.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3181, allocations: 7.156 kB / 390.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3184, allocations: 28.03 kB / 390.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3185, allocations: 47.88 kB / 390.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.3185, allocations: 16.27 kB / 390.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000479/0.319, allocations: 428.6 kB / 391 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.319, allocations: 0 / 391 MB, free: 8.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008021/0.3198, allocations: 214 kB / 391.2 MB, free: 8.613 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.0001517/0.32, allocations: 120.3 kB / 391.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3213, allocations: 0.7805 MB / 392.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3214, allocations: 0 / 392.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.3221, allocations: 486.5 kB / 392.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.3228, allocations: 145.8 kB / 392.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3255, allocations: 1.581 MB / 394.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.326, allocations: 1.078 MB / 395.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.3263, allocations: 97.7 kB / 395.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.3264, allocations: 37.69 kB / 395.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3264, allocations: 3.938 kB / 395.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of Templates: time 0.01514/0.3416, allocations: 10.12 MB / 405.7 MB, free: 13.96 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/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