Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.499/1.499, allocations: 228 MB / 247.1 MB, free: 11.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 12.86 kB / 308.1 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 51.53 MB / 359.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004674/0.1056, allocations: 3.129 MB / 362.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1077, allocations: 0.9037 MB / 363.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.1079, allocations: 7.938 kB / 363.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.1082, allocations: 51.61 kB / 363.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1085, allocations: 107.1 kB / 363.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.1089, allocations: 147.8 kB / 363.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005518/0.1095, allocations: 498 kB / 364.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1098, allocations: 153.7 kB / 364.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.1101, allocations: 167.2 kB / 364.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1104, allocations: 195 kB / 364.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.1105, allocations: 23.94 kB / 364.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.1105, allocations: 20 kB / 365 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.1106, allocations: 75.69 kB / 365 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1109, allocations: 232.4 kB / 365.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.1114, allocations: 0.4941 MB / 365.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1114, allocations: 0 / 365.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1114, allocations: 4 kB / 365.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1114, allocations: 0 / 365.8 MB, free: 6.918 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001155/0.1126, allocations: 0.66 MB / 366.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1126, allocations: 8.031 kB / 366.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.1129, allocations: 80.28 kB / 366.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.1134, allocations: 356.1 kB / 366.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.1134, allocations: 29.38 kB / 366.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.1135, allocations: 36.38 kB / 366.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.1142, allocations: 400 kB / 367.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1143, allocations: 0 / 367.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.1143, allocations: 16 kB / 367.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1143, allocations: 8 kB / 367.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1149, allocations: 267.8 kB / 367.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.1172, allocations: 1.535 MB / 369.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.1177, allocations: 235.5 kB / 369.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.1181, allocations: 176.7 kB / 369.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1181, allocations: 4.234 kB / 369.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.1186, allocations: 233.9 kB / 369.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.1186, allocations: 0 / 369.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001647/0.1203, allocations: 0.6083 MB / 370.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1204, allocations: 110.8 kB / 370.5 MB, free: 1.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.1207, allocations: 312.5 kB / 370.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.1208, allocations: 33.7 kB / 370.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1209, allocations: 216.4 kB / 371 MB, free: 1.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.121, allocations: 98.55 kB / 371.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1211, allocations: 45.69 kB / 371.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1213, allocations: 342.8 kB / 371.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1215, allocations: 96.7 kB / 371.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.1218, allocations: 228.6 kB / 371.8 MB, free: 496 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.1224, allocations: 339.1 kB / 372.2 MB, free: 100 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1224, allocations: 4 kB / 372.2 MB, free: 96 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1663/0.2887, allocations: 419.3 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2888, allocations: 6.969 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2888, allocations: 4.031 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.2891, allocations: 81.5 kB / 372.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.2894, allocations: 65.17 kB / 372.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.291, allocations: 1.809 MB / 374.5 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2912, allocations: 33.38 kB / 374.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.2913, allocations: 17.08 kB / 374.6 MB, free: 17.63 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: 11 (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_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.2915, allocations: 174.6 kB / 374.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.2915, allocations: 40.05 kB / 374.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.2916, allocations: 39.55 kB / 374.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2916, allocations: 4.344 kB / 374.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2916, allocations: 0 / 374.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.2916, allocations: 2.672 kB / 374.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.2923, allocations: 0.5699 MB / 375.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2923, allocations: 1.188 kB / 375.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2925, allocations: 34.09 kB / 375.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.2928, allocations: 79.06 kB / 375.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2928, allocations: 12.31 kB / 375.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.2943, allocations: 1.804 MB / 377.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2943, allocations: 0.5 kB / 377.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.2953, allocations: 0.5109 MB / 377.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2954, allocations: 134.4 kB / 378 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.2955, allocations: 11.02 kB / 378 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2957, allocations: 16.77 kB / 378 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.2958, allocations: 29.66 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.2958, allocations: 16.22 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.296, allocations: 216.9 kB / 378.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.296, allocations: 0 / 378.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.2966, allocations: 114.4 kB / 378.4 MB, free: 15.43 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.2967, allocations: 115.6 kB / 378.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007412/0.2975, allocations: 435.1 kB / 378.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2975, allocations: 0 / 378.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.2979, allocations: 286.9 kB / 379.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2983, allocations: 59.31 kB / 379.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2994, allocations: 0.9138 MB / 380.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2997, allocations: 0.8101 MB / 381 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.2999, allocations: 37.91 kB / 381 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.2999, allocations: 25.33 kB / 381 MB, free: 13.6 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2999, allocations: 3.281 kB / 381 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01005/0.31, allocations: 4.458 MB / 385.5 MB, free: 13.34 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches