Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007649/0.000765, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008759/0.0008759, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002442, allocations: 8 kB / 307.8 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.0955, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003645/0.09918, allocations: 3.137 MB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.101, allocations: 0.8959 MB / 363.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.1014, allocations: 11.94 kB / 363.3 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1016, allocations: 47.61 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.102, allocations: 111.1 kB / 363.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1024, allocations: 143.8 kB / 363.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1028, allocations: 0.4902 MB / 364.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1031, allocations: 149.6 kB / 364.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1034, allocations: 179.2 kB / 364.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1036, allocations: 183 kB / 364.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.1037, allocations: 23.94 kB / 364.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.1038, allocations: 24 kB / 364.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.1039, allocations: 67.69 kB / 364.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1041, allocations: 236.5 kB / 365 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1045, allocations: 0.498 MB / 365.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1045, allocations: 0 / 365.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1045, allocations: 0 / 365.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1045, allocations: 0 / 365.5 MB, free: 7.059 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.001054/0.1056, allocations: 0.6639 MB / 366.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1056, allocations: 12.03 kB / 366.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.1059, allocations: 80.28 kB / 366.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.1063, allocations: 356.1 kB / 366.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1064, allocations: 33.36 kB / 366.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.1065, allocations: 36.38 kB / 366.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.1072, allocations: 392 kB / 367 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1072, allocations: 4 kB / 367 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.1073, allocations: 19.98 kB / 367 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1073, allocations: 8 kB / 367 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.1078, allocations: 271.8 kB / 367.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.11, allocations: 1.523 MB / 368.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1104, allocations: 243.5 kB / 369.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.1108, allocations: 172.7 kB / 369.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.1109, allocations: 4.234 kB / 369.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.1113, allocations: 233.9 kB / 369.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/0.1113, allocations: 0 / 369.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001594/0.1129, allocations: 0.6083 MB / 370.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.113, allocations: 106.8 kB / 370.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1133, allocations: 308.5 kB / 370.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.1134, allocations: 33.7 kB / 370.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1135, allocations: 228.4 kB / 370.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.1136, allocations: 94.56 kB / 370.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1137, allocations: 41.7 kB / 370.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1138, allocations: 346.8 kB / 371.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.114, allocations: 96.7 kB / 371.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.1143, allocations: 221.7 kB / 371.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.1149, allocations: 346.5 kB / 371.9 MB, free: 236 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1149, allocations: 0 / 371.9 MB, free: 236 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1842/0.2991, allocations: 416 kB / 372.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2991, allocations: 10.17 kB / 372.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2991, allocations: 4.062 kB / 372.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.2995, allocations: 81.72 kB / 372.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2997, allocations: 66.14 kB / 372.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3013, allocations: 1.803 MB / 374.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.3016, allocations: 39.14 kB / 374.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3017, allocations: 18.5 kB / 374.3 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.0002055/0.3019, allocations: 179.6 kB / 374.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.3019, allocations: 33.28 kB / 374.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.302, allocations: 48.14 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.302, allocations: 3.594 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.302, allocations: 1.125 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.302, allocations: 5.938 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.3027, allocations: 0.5624 MB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3027, allocations: 2.188 kB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3029, allocations: 33.89 kB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.3031, allocations: 81.44 kB / 375.2 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3032, allocations: 8.031 kB / 375.2 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.3047, allocations: 1.802 MB / 377 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3047, allocations: 6.094 kB / 377 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.3057, allocations: 0.5057 MB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3058, allocations: 136.7 kB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.3059, allocations: 7.406 kB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3061, allocations: 19.19 kB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.3062, allocations: 32.28 kB / 377.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.3062, allocations: 13.83 kB / 377.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3064, allocations: 218.2 kB / 378 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3064, allocations: 0.7812 kB / 378 MB, free: 15.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.3069, allocations: 115.6 kB / 378.1 MB, free: 15.47 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.0001331/0.3071, allocations: 117.8 kB / 378.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007308/0.3078, allocations: 425.4 kB / 378.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3078, allocations: 1.375 kB / 378.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.3082, allocations: 285 kB / 378.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3086, allocations: 60.06 kB / 378.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3098, allocations: 0.917 MB / 379.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3101, allocations: 0.8109 MB / 380.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.3103, allocations: 40.64 kB / 380.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.3103, allocations: 25.5 kB / 380.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3103, allocations: 0 / 380.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Templates: time 0.009143/0.3195, allocations: 4.45 MB / 385.2 MB, free: 13.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches